Code

Changes between Version 12 and Version 13 of CookBookNewformsAdminAndUser


Ignore:
Timestamp:
08/09/08 14:09:07 (6 years ago)
Author:
oyvind
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CookBookNewformsAdminAndUser

    v12 v13  
    4848            instance.user = request.user 
    4949 
    50         return map(set_user, instances) 
     50        if formset.__name__ == 'CommentInline': 
     51            return map(set_user, instances) 
     52        else: 
     53            return instances 
    5154 
    5255admin.site.register(Post, PostModelAdmin)