admin.py 219 B

123456789
  1. from django.contrib import admin
  2. from .models import Project
  3. # Register your models here.
  4. class ProjectAdmin(admin.ModelAdmin):
  5. readonly_fields = ('created', 'updated',)
  6. admin.site.register(Project, ProjectAdmin)