Re: Having the app list available on every admin view

2015-03-13 Thread Riccardo Magliocchetti
Il 12/03/2015 21:41, Aymeric Augustin ha scritto: 2015-03-12 18:47 GMT+01:00 Riccardo Magliocchetti mailto:riccardo.magliocche...@gmail.com>>: Finally it looks to me that everything in the app_dict but the permissions could be cached somehow. Would it make sense to cache the app_dict so i

Re: Interested in GSoC idea "Replace Form Media Class"

2015-03-13 Thread Varun Sharma
Hi Tim, Sorry for such a late response, I was caught up in the midterms. The project idea is like this: Right now we have a Media class which is used to fetch the form assets but is not very popular. In order to replace it with a new preprocessor, I see two viable solutions: 1. Creating a new ap

Re: GSoC 2015: Template engine optimisation

2015-03-13 Thread Sam Cooke
Even with the cached template loader? Before realising it was unnecessary one of the first things I did was hack something together that took the nodelist from the include and stuck it straight into the for loop's nodelist at compile time and it didn't make much difference. Sam On Fri, 13 Mar 201

Re: GSoC 2015: Template engine optimisation

2015-03-13 Thread Aymeric Augustin
2015-03-13 12:21 GMT+01:00 Sam Cooke : > The test template we were using to test the performance was a simple: > {% for item in item_list %}{% include "item.html" %}{% endfor %} > Bad luck -- including a template in a loop is one of the known pathological performance cases of the DTL :-( -- Aym

Re: csrf middleware token from request body

2015-03-13 Thread Rafał Pitoń
On Friday, March 13, 2015 at 4:14:55 PM UTC+1, Florian Apolloner wrote: > > I am pretty sure you can configure angular to send the token in the > header. Either way, we are not going to try and load json, just we can't > find a token otherwise… > > Cheers, > Florian > Pretty much, you have to te

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

2015-03-13 Thread Cody Scott
You are not too late for GSOC 2015. Here is some more information with potential projects. https://code.djangoproject.com/wiki/SummerOfCode2015 On Thursday, 12 March 2015 07:23:42 UTC-4, Saurabh Jain wrote: > > Hello, > My name is Saurabh Jain, currently pursuing bachelors degree in >

Re: csrf middleware token from request body

2015-03-13 Thread Florian Apolloner
I am pretty sure you can configure angular to send the token in the header. Either way, we are not going to try and load json, just we can't find a token otherwise… Cheers, Florian -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions

Re: Django Admin New Look

2015-03-13 Thread elky
> > Did you test RTL? > > I did. I tested Arabic and Hebrew - no issues detected for me. BUT. As far > as I understand Django admin has poor RTL support by itself. > Sorry guys, I was wrong about it. Django has very good RTL support! Just didn't notice right setting to test it. But anyway I did

Re: GSoC 2015: Template engine optimisation

2015-03-13 Thread Sam Cooke
Preston - I'll send the template to you directly, I'm not sure how useful it will be so I don't want to spend time checking if it's fine for public consumption unnecessarily. The test template we were using to test the performance was a simple: {% for item in item_list %}{% include "item.html" %}

Re: Django Admin New Look

2015-03-13 Thread elky
> > In line with that, how does it perform for mobile devices? > Same as default django admin. I don't plan to make admin responsive yet (to make it perfectly accessible on mobile) - just because we can't control third-party apps. Ideally django should have its own css framework for that but n

csrf middleware token from request body

2015-03-13 Thread Richard Jeffries
Hi, Not sure if this breaks any RFC’s or there’s another valid reason why this doesn’t exist already but I’ve noticed that certain client frameworks (looking at you angular) have a tendency to put POST data in the request body. For example, the following angular code $http( { method: