What's the best way (or the standard way, or your preferred way) to 
organize custom admin views? Assuming we want to leave the built-in Django 
Admin in place and create entirely new admin views, would the optimal 
organization be:

*A new app?*
blogapp/
  views.py
  viewsets.py
  models.py
shoppingapp/
  views.py
  viewsets.py
  models.py
adminapp/
  views.py
  viewsets.py
  models.py


*Directories within each app?*
blogapp/
  admin/
    views.py
    viewsets.py
    models.py
shoppingapp/
  admin/
    views.py
    viewsets.py
    models.py


*A flat structure?*
blogapp/
  admin_views.py
  admin_viewsets.py
  admin_models.py
  views.py
  viewsets.py
  models.py
shoppingapp/
  admin_views.py
  admin_viewsets.py
  admin_models.py
  views.py
  viewsets.py
  models.py


*Something else altogether?*


> *It’s usually not worth it to heavily customize the Django admin. 
> Sometimes, creating a simple view or form from scratch results in the same 
> desired functionality with a lot less work. We’ve always had better results 
> with creating custom management dashboards for client projects than we have 
> with modifying the admin to fit the need of the client.”Excerpt From: 
> Daniel Roy Greenfeld. “Two Scoops of Django 1.11.”*



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f279689c-53ad-4cca-b644-243fddeabe67%40googlegroups.com.

Reply via email to