Changes between Initial Version and Version 1 of Ticket #25587, comment 5
- Timestamp:
- Oct 21, 2015, 1:23:00 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25587, comment 5
initial v1 15 15 name = models.CharField(max_length=255) 16 16 17 17 18 class Collaborator(models.Model): 18 email = models.Email ()19 email = models.EmailField() 19 20 user = models.ForeignKey(User) 20 21 project = models.ForeignKey(Project) … … 29 30 raw_id_fields = ('user',) 30 31 32 31 33 class ProjectAdmin(admin.ModelAdmin): 32 34 inlines = [CollaboratorAdmin] 33 35 raw_id_fields = ('user',) 34 36 save_as = True 37 35 38 36 39 admin.site.register(Project, ProjectAdmin)