Re: Password validation in Django revisited

2015-03-11 Thread Tino de Bruijn
Hi Erik, I like the way this is going! I do want to emphasise the point that Josh made: you have to be able to aggregate all ValidationErrors, otherwise things can become quite frustrating. (Try to change your Skype password and you know why...) Tino On Wed, Mar 11, 2015 at 1:44 AM, Josh Smeaton

Migrate all databases

2015-03-11 Thread Alexander Schepanovski
If I have 2 databases in my project like 'default' and 'second'. I wrote database router that models are created for right dbs. But anyway each time I need to call both: ./manage.py migrate ./manage.py migrate --database=second It leads into forgetting one of dbs from time to time and also comp

Re: Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-11 Thread Alexandr Shurigin
Hi all. You can take a look of http://phpdude.github.io/django-macros-url/.  --  Alexandr Shurigin Sent with Airmail Включено 11 марта 2015 г. в 16:57:25, Marten Kenbeek (marten.k...@gmail.com) написал: I came across an app named django-url-namespaces[1]. It provides support for declarative

GSoC 2015: Template engine optimisation

2015-03-11 Thread Oleksii Oleksenko
Hi, My name is Oleksii Oleksenko, I'm a master student in Distributed System Engineering at TU Dresden (Germany) and I want to participate in GSoC by contributing into your project. I decided to apply to Django because Python is my main and favorite programming language and I work mostly in the

Re: Django Admin New Look

2015-03-11 Thread Bruno Ribeiro da Silva
Looks good! Congrats! On Wed, Mar 11, 2015 at 5:20 PM, elky wrote: > Hi everyone, > > I reworked my previous attempt > of stylizing django admin > and now it looks more like original in terms of color scheme. See > attachments. > > For those who want

Re: Don't understand regex-urls and DetailView...

2015-03-11 Thread Shai Berger
On Wednesday 11 March 2015 22:56:15 inoyon artlover KLANGRAUSCH wrote: > > url(r'^(P?\w+)$', views.ProductView.as_view()), > > Where is the mistake here That should be url(r'^(?P... The question mark before the P In the future, please direct questions about using Django to the dj

Re: Django Admin New Look

2015-03-11 Thread Collin Anderson
That looks beautiful! I can see all of the improvement from last time too! I'd personally prefer slightly less vertical padding, but otherwise I think it's awesome! Thanks! Collin On Wednesday, March 11, 2015 at 4:20:31 PM UTC-4, elky wrote: > > Hi everyone, > > I reworked my previous attempt

Re: Don't understand regex-urls and DetailView...

2015-03-11 Thread Alexandr Shurigin
Use Macros Urls and forget about this type problems :) http://phpdude.github.io/django-macros-url/ --  Alexandr Shurigin Sent with Airmail Включено 11 марта 2015 г. в 23:30:03, Shai Berger (s...@platonix.com) написал: On Wednesday 11 March 2015 22:56:15 inoyon artlover KLANGRAUSCH wrote: >

Re: GSoC 2015: Template engine optimisation

2015-03-11 Thread Oleksii Oleksenko
Also, I would like to know, if I understand this task correctly. Here is how I see the implementation. It will consist of the following pars: - Test suite - write templates for all types of template constructions: - variables - filters - inherited templates

Re: Django Admin New Look

2015-03-11 Thread Thomas Rega
+1 Am 11.03.2015 21:20 schrieb "elky" : > Hi everyone, > > I reworked my previous attempt > of stylizing django admin > and now it looks more like original in terms of color scheme. See > attachments. > > For those who want to play with new theme I cre

Re: GSoC 2015: Template engine optimisation

2015-03-11 Thread Shai Berger
On Wednesday 11 March 2015 23:40:39 Oleksii Oleksenko wrote: >- Profiling > - run profiler (cProfile?) on all of these tests. As I see, basic > algorithm (pseudo code) will look like this: > > for context, template in zip(contexts, templates): > t = Template(template) > c =

Re: Django Admin New Look

2015-03-11 Thread Aymeric Augustin
2015-03-11 21:20 GMT+01:00 elky : > I reworked my previous attempt > of stylizing django admin > and now it looks more like original in terms of color scheme. See > attachments. > This looks good! Now let's try and see if we can merge it :-) Here are

1.9 release planning

2015-03-11 Thread Tim Graham
With the release of 1.8 coming up, it's time to think about 1.9! I've suggested some dates below. The schedule is similar to the intervals we used for 1.8 with the final release date planned for about 6 months after 1.8 final (barring unforeseen delays, 1.8 will be released about 7 months after

Re: Formalizing template loader and debug api's

2015-03-11 Thread Preston Timmons
My branch is updated. This now combines the origin classes into one. It also includes a simpler cache algorithm than before. This same algorithm can be used if we implement an internal cache to the engine, which is now a small addition to this patch. I'd like to see origin.reload go away but it's

Re: Django Admin New Look

2015-03-11 Thread Aaron C. de Bruyn
Beautiful. It's clean and simple. Great work! -A On Wed, Mar 11, 2015 at 1:20 PM, elky wrote: > Hi everyone, > > I reworked my previous attempt of stylizing django admin and now it looks > more like original in terms of color scheme. See attachments. > > For those who want to play with new the

Re: GSoC 2015: Template engine optimisation

2015-03-11 Thread Preston Timmons
Hi Oleksii, I found that cProfile isn't that helpful when rendering templates. There are a lot of function calls and the output is too verbose to really reveal where Django spends it's time. Also, keep in mind that rendering is only one step of the template cycle, and usually only a small part