Re: LiveServerTestCase change in Django 1.11 means can't run functional tests against external server?

2016-11-02 Thread Andrew Wall
Thanks everyone. I guess my Django skills aren't advanced enough to figure out how this will work without the --liveserver command. Would it be easy to retain this command-line arg or would it require a significant change to the implementation? It seems like a useful command. On Tuesday, Oct

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. > > > @app.route('articles/2003/'

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 INSTALLED_APP

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 Octob

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 valuab