Re: Composite fields

2015-03-12 Thread Thomas Stephenson
All the null handling stuff has been removed from the specification and replaced with slightly more stringent restrictions on `value_to_dict`. There is an updated version which includes that change, plus a couple more alterations that were discussed here and on the PR available here.

Re: Having the app list available on every admin view

2015-03-12 Thread Aymeric Augustin
2015-03-12 18:47 GMT+01:00 Riccardo Magliocchetti < riccardo.magliocche...@gmail.com>: > I've started looking in django.contrib.admin.sites and found a couple of > issues, first at line 469, if app_label == model._meta.app_label is true, > shouldn't we add a break after we found an app_label? AFAI

Having the app list available on every admin view

2015-03-12 Thread Riccardo Magliocchetti
Hello, i was thinking on export the app_list on every view in the admin to implement a left menu like the one in mezzanine (demo /demo): http://mezzanine.jupo.org/it/admin/shop/productoption/ I've started looking in django.contrib.admin.sites and found a couple of issues, first at line 469, i

Re: GSOC-2015, Newbie, Want to contribute to Django development and also try my hand in GSOC

2015-03-12 Thread Collin Anderson
Hi, Welcome! If you haven't yet, check out the contributing docs. https://docs.djangoproject.com/en/dev/internals/contributing/ I also recommend hanging around the #django-dev irc channel. Collin On Thursday, March 12, 2015 at 7:23:42 AM UTC-4, Saurabh Jain wrote: > > Hello, > My nam

Re: GSoC 2015: Template engine optimisation

2015-03-12 Thread Preston Timmons
> > I've done a couple of days of investigation into template performance > recently trying to speed up our site and my main takeaway was that there > was no silver bullet - no particular node taking up all of the time. I was > mostly trying to optimise a particularly complicated template we re

Re: GSoC 2015: Template engine optimisation

2015-03-12 Thread Sam Cooke
I've done a couple of days of investigation into template performance recently trying to speed up our site and my main takeaway was that there was no silver bullet - no particular node taking up all of the time. I was mostly trying to optimise a particularly complicated template we render a lot in

Re: GSoC 2015: Template engine optimisation

2015-03-12 Thread Preston Timmons
> > After a while I believe layers and layers of caution have accrued, and > nobody is sure any more where these have overlapped excessively. > Do you have examples of which layers these are? Escaping seems to happen in Variable, VariableNode, FilterExpression, and render_value_in_context. I d

Re: Django Admin New Look

2015-03-12 Thread Florian Apolloner
First off, great work Alex! On Thursday, March 12, 2015 at 11:31:32 AM UTC+1, elky wrote: > > Yes, I tested this theme on real project which is big and complex. But I'm > not 100% sure that I saw all cases. I think we need more user's feedback on > it. > You could create a project with a few mo

Re: GSoC 2015: Template engine optimisation

2015-03-12 Thread Curtis Maloney
I have convinced my self [with absolutely no hard evidence, just familiarity with the code] that the template engine is overly cautious when it comes to ensuring values are strings and are escaped properly. After a while I believe layers and layers of caution have accrued, and nobody is sure any m

Re: Django Admin New Look

2015-03-12 Thread Tom Christie
Amazing work so far. :) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To

Re: Django Admin New Look

2015-03-12 Thread Jonhnatha J. R. Trigueiro
Hi Alexey, I started using it on my project. Awesome. Clean and beautiful interface. Thank You! 2015-03-12 7:30 GMT-03:00 Alexey : > Thanks you Aymeric > > On 12 March 2015 at 03:02, Aymeric Augustin < > aymeric.augus...@polytechnique.org> wrote: > > Now let's try and see if we can merge it :-)

GSOC-2015, Newbie, Want to contribute to Django development and also try my hand in GSOC

2015-03-12 Thread Saurabh Jain
Hello, My name is Saurabh Jain, currently pursuing bachelors degree in Computer Science. I want to contribute to the development of Django. I have worked upon Django as user but have no experience related to its development. Can anyone please help me to get started with it ? I know that

Re: Django Admin New Look

2015-03-12 Thread elky
Thanks you Aymeric Now let's try and see if we can merge it :-) Nice to hear :) But I think there's no rush and we need more testing and more feedback. I'm not sure how people will feel about shipping 320kB of fonts with Django We can reduce fonts size by 160kB I believe. I used 4 font weights

Re: Django Admin New Look

2015-03-12 Thread Alexey
Thanks you Aymeric On 12 March 2015 at 03:02, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: Now let's try and see if we can merge it :-) > Nice to hear :) But I think there's no rush and we need more testing and more feedback. I'm not sure how people will feel about shipping 32

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

2015-03-12 Thread inoyon artlover KLANGRAUSCH
I don't understand why this doesn't work and smashes an '*The current URL, lighter, didn't match any of these.'* my models.py class ShopList(models.Model): name = models.CharField(max_length=100, null=True, blank=True) description = models.CharField(max_length=100, null=True, blank=True

Re: Extending the URL Dispatcher (GSoC 2015 proposal)

2015-03-12 Thread Marten Kenbeek
I came across an app named django-url-namespaces[1]. It provides support for declarative style url patterns, very similar to the declarative style of models and forms. I'm not particularly for or against this style or the current style, but I wanted to put this out here for discussion. It can s

inspectdb database defaults

2015-03-12 Thread Collin Anderson
Hi All, We recently added database introspection of defaults for purposes of testing migrations. https://github.com/django/django/commit/75303b01a9cc900eebf1f27ba0bc6508334242fc I would find it useful to have inspectdb attempt to use those defaults when generating models. (My use case is runni