Re: Add an extra parameter to 'static' tag

2014-05-31 Thread Renato Oliveira
Sorry if I gave the wrong impression, this e-mail isn't to publish a new project, It's a feature proposal. Renato Oliveira @_renatooliveira Labcodes - www.labcodes.com.br On Sat, May 31, 2014 at 10:20 PM, Renato Oliveira < renatooliveira@gmail.com> wro

Add an extra parameter to 'static' tag

2014-05-31 Thread Renato Oliveira
Hi all, My name is Renato Oliveira and I'm a Brazilian Django user. Here at my company we use a small modification of static template tag. We added a parameter, URL, and the inside job is when DEBUG is True, the tag returns the local path for the static file, but when DEBUG is false, the URL is

Re: Make url patterns group kwargs more simple

2014-05-31 Thread Alexandr Shurigin
hi all. I developed first version of application, you can take a look into it. https://github.com/phpdude/django-macros-url/ You can take a look into tests to see for really big url patterns :)) Library is simple as possible and makes a lot of extra work. I think some type of library must be i

Re: Support for function application in ORDER BY

2014-05-31 Thread Marc Tamlyn
With Custom transforms[1] for lookups, we ought to be using the same mechanisms in my opinion. They will also be used for functional indexes in contrib.postgres. We would need to add a __lower transform to all relevant fields of course. I am considering refactoring how the "standard" lookups work s

Support for function application in ORDER BY

2014-05-31 Thread Tim Martin
Hi all, I was looking at implementing the behaviour proposed in #13006 (https://code.djangoproject.com/ticket/13006). In short, the idea is to allow decorating fields in order_by() with a LowerCase() modifier to apply LOWER() in SQL before ordering: Articles.objects.all().order_by(LowerCase

Re: Using Exisitng Database on PhpMyAdmin with Python and Django

2014-05-31 Thread Daniele Procida
On Sat, May 31, 2014, Olouge Eya Ekolle wrote: >How can I connect my existing MySQL database created on XAMPP to my >Python/Django project? You'll get answers to your questions on the django-users email list, - the web interface is . T

Using Exisitng Database on PhpMyAdmin with Python and Django

2014-05-31 Thread Olouge Eya Ekolle
How can I connect my existing MySQL database created on XAMPP to my Python/Django project? -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-develope