Browse Source

save as new added in project admin

master
Benni Baermann 4 years ago
parent
commit
e0d5ddee5d
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      input/admin.py

+ 1
- 0
input/admin.py View File

@ -5,6 +5,7 @@ from .models import Project, HonoraryCertificate, Library, IFG, Travel,\
@admin.register(Project) @admin.register(Project)
class ProjectAdmin(admin.ModelAdmin): class ProjectAdmin(admin.ModelAdmin):
save_as = True
readonly_fields = ('pid',) readonly_fields = ('pid',)
admin.site.register([ admin.site.register([

Loading…
Cancel
Save