maxpoletaev / django-micro

Django as a microframework
BSD 2-Clause "Simplified" License
277 stars 22 forks source link

New idea for admin panel #11

Closed kosc closed 6 years ago

kosc commented 6 years ago

What if we will right:

configure(locals(), admin_on='admin')

instead of:

configure(locals(), django_admin=True)

So, in that case we will make it even more easy to enable admin and add route.

maxpoletaev commented 6 years ago

I don’t think it’s a good idea to make any api changes after release :)

kosc commented 6 years ago

Ok, but what if we implement this feature in 2.x release?

maxpoletaev commented 6 years ago

Look, I don’t really think that any change here worth it. We’ve already reduced a significant amount of lines by adding that shortcut. Saving one more line is not a big deal.