save as new added in project admin
This commit is contained in:
parent
d1534394ba
commit
e0d5ddee5d
|
@ -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…
Reference in New Issue