Re: [ GSOC 2016 ] Proposal for template profiling and optimization

2016-03-23 Thread girish ramnani
I am really sorry to the community. -- 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...@googleg

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Matt
First pass (still haven't figured out how to test it): https://github.com/satchamo/django/commit/d5accc17122cd7486a5e5fd2d63b4c1f732a5c68 It's not obvious from the diff, but AnonymousUser depends on permission stuff (see AnonymousUser._get_groups/_get_user_permissions). On top of that, Anonymous

Re: [ GSOC 2016 ] Proposal for template profiling and optimization

2016-03-23 Thread Russell Keith-Magee
On Thu, Mar 24, 2016 at 6:36 AM, Florian Apolloner wrote: > Sorry, but this is no proposal -- this is a bad joke. You will need to put > way more work into > Florian - While this is true, this is an excessively harsh way of delivering the news. We have no reason to believe that Girish is activel

Re: relative path in {% extends "...base.html" %} like relative import

2016-03-23 Thread Tim Graham
Asking again... I am not sure if the Django Template Language should evolve new features like this. Is there any prior art in Jinja2? Absent any other +1's, I guess I would be more comfortable accepting the feature if so. The code seems too complicated. Could we reuse os.path handling from the

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Florian Apolloner
On Thursday, March 24, 2016 at 12:07:14 AM UTC+1, Matt wrote: > > > the ModelBackend uses the Permission model, so why would that ever work > without beeing in INSTALLED_APPS? > > ModelBackend.authenticate() doesn't use the permissions models. And that's > the method that gets used when authen

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Matt
> the ModelBackend uses the Permission model, so why would that ever work without beeing in INSTALLED_APPS? ModelBackend.authenticate() doesn't use the permissions models. And that's the method that gets used when authenticating a user. If I did something like `user.has_perm()`, things would b

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Florian Apolloner
On Wednesday, March 23, 2016 at 8:36:39 PM UTC+1, Matt wrote: > > I created https://code.djangoproject.com/ticket/26401 > > > > Since the usage of any of the ba

Re: [ GSOC 2016 ] Proposal for template profiling and optimization

2016-03-23 Thread Florian Apolloner
Sorry, but this is no proposal -- this is a bad joke. You will need to put way more work into it… On Wednesday, March 23, 2016 at 7:05:13 PM UTC+1, girish ramnani wrote: > > > After reading through the db source code of django I realized the > complexity of adding a standard interface for NoSQL

Re: [ GSOC 2016 ] Proposal for template profiling and optimization

2016-03-23 Thread Florian Apolloner
Sorry, but this is no proposal -- this is a bad joke. You will need to put way more work into On Wednesday, March 23, 2016 at 7:05:13 PM UTC+1, girish ramnani wrote: > > > After reading through the db source code of django I realized the > complexity of adding a standard interface for NoSQL col

Re: [GSOC] Original Idea/Seeking Mentor: Conditions API (Related to Auth)

2016-03-23 Thread Connor Boyle
Hello everyone, I've updated my proposal fairly dramatically (different link than before). I've written a lot of code to show just how much of a mess the problem I'm trying to solve is, but unfortunately haven't quite had time to fin

Re: Proposal on Custom Indexes - Google Summer of Code

2016-03-23 Thread akki
Hi I had updated my proposal to include the various points that were discussed earlier in this thread. I have now also incorporated the changes that were recently suggested by Tim. Thanks -- You received this message because you are subscribed to the Google Groups "Django developers (Contri

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Matt
I created https://code.djangoproject.com/ticket/26401 > Since the usage of any of the backends requires models I used the ModelBackend with no issues in Django 1.8 (without auth in INSTALLED_APPS). So that is the place I want to refactor. I'm trying to write a regression test for this, but I c

Re: relative path in {% extends "...base.html" %} like relative import

2016-03-23 Thread Vitaly Bogomolov
> > Syntax for relative path was changed from ... to ./../ > Anyone can tell me what to do next? Just wait? -- 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 receiv

[ GSOC 2016 ] Proposal for template profiling and optimization

2016-03-23 Thread girish ramnani
After reading through the db source code of django I realized the complexity of adding a standard interface for NoSQL column database, and i realized that it will require more than summer (for me). Also the changes in the framework were affecting many parts such as migrations,meta ,forms etc .

DjangoCon US 2016

2016-03-23 Thread Andrew Pinkham
We are pleased to announce that DjangoCon US will be hosted by the Wharton School at the University of Pennsylvania in Philadelphia from July 17-22! We are looking for suggestions about topics that you would like to see at DjangoCon. If you have a suggestion, please add it to this gist document

Re: Improving MSSQL and Azure SQL support on Django

2016-03-23 Thread Tim Allen
If people are planning on being in Philadelphia around the time of DjangoCon this summer (July 17th - 22nd), I'd be happy to arrange space for a meeting / code sprint and provide food. Django sprints are on July 21st / 22nd which would be ideal; or the weekend afterwards. I'm on the DjangoCon o

Re: MySQL data loss possibility with concurrent ManyToManyField saves

2016-03-23 Thread Hugo Chargois
Le mardi 22 mars 2016 23:33:10 UTC+1, Shai Berger a écrit : > It is Django's job to try, as best as it can, to fulfill these expectations. How could I disagree? Of course, if there is one single sensible, obvious default, that would help 99.9 % of users, like your webserver analogy, it should

Re: Using auth stuff without installing the auth app

2016-03-23 Thread Florian Apolloner
Oh yes, this is a bug. We should ensure that RemoteUser backend is imported in the middleware itself or that backends.py does not trigger any model imports. Since the usage of any of the backends requires models, the import there seems fine -- I'd import RemoteUserBackend in RemoteUserMiddlewar

Re: Proposal on Custom Indexes - Google Summer of Code

2016-03-23 Thread akki
Hi Tim Thanks for the feedback. Instead of aiming for one huge patch to be merged at the end of the summer, > I'd suggest to think about whether you can break up the work in chunks that > can be merged incrementally. This should decrease the risk that comes with > a huge patch going stale and