Changes between Version 12 and Version 13 of CookBookNewformsAdminAndUser
- Timestamp:
- Aug 9, 2008, 4:09:07 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookNewformsAdminAndUser
v12 v13 48 48 instance.user = request.user 49 49 50 return map(set_user, instances) 50 if formset.__name__ == 'CommentInline': 51 return map(set_user, instances) 52 else: 53 return instances 51 54 52 55 admin.site.register(Post, PostModelAdmin)