django remove admin from production how to
Let's make your Django site more secure by removing your admin panel in production all together!
This is a great easy way to add secuirty to your site. This is obviously assuming you develop locally and then push it up to your production server
Step 1. In your settings.py add
Step 2. now to your mainl urls.py where your main admin.site.urls is and remove it from the topline and replace it underneath
Done like a turkey