Changes between Initial Version and Version 1 of Ticket #25587, comment 5


Ignore:
Timestamp:
Oct 21, 2015, 1:23:00 PM (9 years ago)
Author:
user0007

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25587, comment 5

    initial v1  
    1515    name = models.CharField(max_length=255)
    1616
     17
    1718class Collaborator(models.Model):
    18     email = models.Email()
     19    email = models.EmailField()
    1920    user = models.ForeignKey(User)
    2021    project = models.ForeignKey(Project)
     
    2930    raw_id_fields = ('user',)
    3031
     32
    3133class ProjectAdmin(admin.ModelAdmin):
    3234    inlines = [CollaboratorAdmin]
    3335    raw_id_fields = ('user',)
    3436    save_as = True
     37
    3538
    3639admin.site.register(Project, ProjectAdmin)
Back to Top