Re: DEP pre-proposal for a simpler URLs syntax.

2016-11-02 Thread Paul Egges
Actually, we do something very similar to this in a routes.py for a flask app. Except instead of "pass" we call a function that has been imported. Paul *Flask* > Doesn't really have the idea of putting all your routes in one spot. So > pardon the silly example. > > >

Re: DEP pre-proposal for a simpler URLs syntax.

2016-11-02 Thread Pete Wildsmith
I agree that those look odd. As far as the end-user is concerned, though, their project's urls module is the root. Does accepting (and removing) a leading slash have a negative side-effect that I'm not aware of? Enforcing its absence seems to expose an implementation detail. On Tuesday, 4

Uniform content type tables with multiple databases

2016-11-02 Thread Mario Taddei
Hi all, I noticed that with multiple databases, the content_type tables are not filled in the same way. It is not a bug, but having uniform content type tables through multiple databases makes life easier. If 'django.contrib.contenttypes' app comes before 'django.contrib.auth' in

Re: Django

2016-11-02 Thread Gaddam Bhasker Reddy
Hello Everyone, Thank you for giving your valuable suggestions,today i started work on django and i need small tasks on every day if any one provide small small requirements on django. I am ready to put my efforts on django. please help me and give your