Browse Source
Merge pull request #58 from srbala/fix-54
Remove debug code, Fix#54
pull/59/head
Igor Seletskiy
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
www/admin.py
|
|
@ -29,7 +29,7 @@ class BlogPostAdmin(admin.ModelAdmin): |
|
|
|
|
|
|
|
def save_model(self, request, obj, form, change): |
|
|
|
obj.author = request.user |
|
|
|
print(request.user) |
|
|
|
# print(request.user) |
|
|
|
super().save_model(request, obj, form, change) |
|
|
|
|
|
|
|
|
|
|
|