Disable models that are not needed in admin currently
This commit is contained in:
parent
50c77be640
commit
a8e2ee2c94
1 changed files with 35 additions and 35 deletions
70
app/admin.py
70
app/admin.py
|
@ -354,45 +354,45 @@ class RangeCountryAdmin(admin.ModelAdmin):
|
||||||
admin.site.register(Person, PersonAdmin)
|
admin.site.register(Person, PersonAdmin)
|
||||||
admin.site.register(Resource, ResourceAdmin)
|
admin.site.register(Resource, ResourceAdmin)
|
||||||
admin.site.register(MountainRange, RangeAdmin)
|
admin.site.register(MountainRange, RangeAdmin)
|
||||||
admin.site.register(Method)
|
# admin.site.register(Method)
|
||||||
admin.site.register(Scale)
|
# admin.site.register(Scale)
|
||||||
admin.site.register(Taxon)
|
# admin.site.register(Taxon)
|
||||||
admin.site.register(Field, FieldAdmin)
|
# admin.site.register(Field, FieldAdmin)
|
||||||
|
|
||||||
|
|
||||||
# LU models
|
# LU models
|
||||||
admin.site.register(Country, CountriesAdmin)
|
# admin.site.register(Country, CountriesAdmin)
|
||||||
admin.site.register(GMBA_SpeciesGroup, GMBA_SpeciesGroupAdmin)
|
# admin.site.register(GMBA_SpeciesGroup, GMBA_SpeciesGroupAdmin)
|
||||||
admin.site.register(Language, LanguageAdmin)
|
# admin.site.register(Language, LanguageAdmin)
|
||||||
admin.site.register(PeopleStatus, PeopleStatusAdmin)
|
# admin.site.register(PeopleStatus, PeopleStatusAdmin)
|
||||||
admin.site.register(RangeType, RangeTypeAdmin)
|
# admin.site.register(RangeType, RangeTypeAdmin)
|
||||||
admin.site.register(RedListCategory, RedListCategoryAdmin)
|
# admin.site.register(RedListCategory, RedListCategoryAdmin)
|
||||||
admin.site.register(Source, SourceAdmin)
|
# admin.site.register(Source, SourceAdmin)
|
||||||
admin.site.register(TaxonStatus, TaxonStatusAdmin)
|
# admin.site.register(TaxonStatus, TaxonStatusAdmin)
|
||||||
admin.site.register(TaxonUnit, TaxonUnitAdmin)
|
# admin.site.register(TaxonUnit, TaxonUnitAdmin)
|
||||||
admin.site.register(TrendsQuality, TrendsQualityAdmin)
|
# admin.site.register(TrendsQuality, TrendsQualityAdmin)
|
||||||
admin.site.register(TrendsQuantity, TrendsQuantityAdmin)
|
# admin.site.register(TrendsQuantity, TrendsQuantityAdmin)
|
||||||
|
|
||||||
# Others
|
# Others
|
||||||
admin.site.register(Repository, RepositoryAdmin)
|
# admin.site.register(Repository, RepositoryAdmin)
|
||||||
admin.site.register(GMBA_function, GMBAFunctionAdmin)
|
# admin.site.register(GMBA_function, GMBAFunctionAdmin)
|
||||||
admin.site.register(Organisation, OrganizationAdmin)
|
admin.site.register(Organisation, OrganizationAdmin)
|
||||||
admin.site.register(RangeOnlineInfo, RangeOnlineInfoAdmin)
|
# admin.site.register(RangeOnlineInfo, RangeOnlineInfoAdmin)
|
||||||
|
|
||||||
admin.site.register(RangeNameTranslation, RangeNameTranslationAdmin)
|
# admin.site.register(RangeNameTranslation, RangeNameTranslationAdmin)
|
||||||
admin.site.register(AddElevation)
|
# admin.site.register(AddElevation)
|
||||||
admin.site.register(GMBA_V2_Centroid)
|
# admin.site.register(GMBA_V2_Centroid)
|
||||||
admin.site.register(ImportGeom210915)
|
# admin.site.register(ImportGeom210915)
|
||||||
admin.site.register(Peak, PeaksAdmin)
|
# admin.site.register(Peak, PeaksAdmin)
|
||||||
admin.site.register(Search, SearchAdmin)
|
# admin.site.register(Search, SearchAdmin)
|
||||||
admin.site.register(TaxaPeople)
|
# admin.site.register(TaxaPeople)
|
||||||
# admin.site.register(RangesPeople)
|
# # admin.site.register(RangesPeople)
|
||||||
# admin.site.register(ResourcesPeople)
|
# # admin.site.register(ResourcesPeople)
|
||||||
admin.site.register(ScalesPeople)
|
# admin.site.register(ScalesPeople)
|
||||||
admin.site.register(Species, SpeciesAdmin)
|
# admin.site.register(Species, SpeciesAdmin)
|
||||||
admin.site.register(PeopleFunction)
|
# admin.site.register(PeopleFunction)
|
||||||
admin.site.register(SpeciesRange, SpeciesRangeAdmin)
|
# admin.site.register(SpeciesRange, SpeciesRangeAdmin)
|
||||||
admin.site.register(RangesPeople, PeopleRangeAdmin)
|
# admin.site.register(RangesPeople, PeopleRangeAdmin)
|
||||||
admin.site.register(TaxonRange, TaxonRangeAdmin)
|
# admin.site.register(TaxonRange, TaxonRangeAdmin)
|
||||||
admin.site.register(PeopleResource, PeopleResourceAdmin)
|
# admin.site.register(PeopleResource, PeopleResourceAdmin)
|
||||||
admin.site.register(RangeCountry, RangeCountryAdmin)
|
# admin.site.register(RangeCountry, RangeCountryAdmin)
|
||||||
|
|
Loading…
Reference in a new issue