save as new added in project admin

This commit is contained in:
Benni Bärmann 2020-11-19 14:41:31 +01:00
parent d1534394ba
commit e0d5ddee5d
1 changed files with 1 additions and 0 deletions

View File

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