admin.py 319 B

1234567891011121314151617
  1. from django.contrib import admin
  2. from .models import Environment, EnvironmentProject
  3. class EnvironmentAdmin(admin.ModelAdmin):
  4. pass
  5. admin.site.register(Environment, EnvironmentAdmin)
  6. class EnvironmentProjectAdmin(admin.ModelAdmin):
  7. pass
  8. admin.site.register(EnvironmentProject, EnvironmentProjectAdmin)