Re: Ability to migrate other applications

2015-08-24 Thread Emmanuelle Delescolle
I've been using this solution on a couple projects (including ones with several children to the same migration) and have never had troubles with the migration solver, I guess I have been lucky. I'll throw a sample application today and try to reproduce the problem and see how it can be fixed/wo

Re: Pre-DEP: community support of unmaintained versions of Django

2015-08-24 Thread Christian Hammond
On Mon, Aug 24, 2015 at 9:32 PM, Ryan Hiebert wrote: > > > On Aug 24, 2015, at 5:37 PM, Carl Meyer wrote: > > > >> Any ideas on alternative ways to tackle this? I'm officially stuck. > > > > I'm afraid I don't have any solution to offer, other than embracing the > > "abstract vs concrete" depend

Re: Pre-DEP: community support of unmaintained versions of Django

2015-08-24 Thread Ryan Hiebert
> On Aug 24, 2015, at 5:37 PM, Carl Meyer wrote: > >> Any ideas on alternative ways to tackle this? I'm officially stuck. > > I'm afraid I don't have any solution to offer, other than embracing the > "abstract vs concrete" dependencies distinction, and accepting the fact > that users of your wh

Re: Ability to migrate other applications

2015-08-24 Thread Andrew Godwin
The main problem I forsee here is just making sure that the MigrationLoader knows to take these located-in-the-wrong-place migrations and insert them into the migration tree right - in particular, you have issues with the dependencies, because say you made a third-party migration that depends on ap

Okay to use form field labels in admin history?

2015-08-24 Thread Tim Graham
Do you like the idea to use form field labels in the admin history messages instead of the form field names themselves? It's been implemented here: https://github.com/django/django/pull/5169 One consideration is that the messages are generated/stored in the current language so this could increa

Re: Django ORM query syntax enhancement

2015-08-24 Thread Josh Smeaton
Expressions have built in support for ordering with asc or desc, see here: https://docs.djangoproject.com/en/1.8/ref/models/expressions/#django.db.models.Expression.asc Meaning that -F() is never ambiguous, which is the main reason we went for the F().desc() API rather than using the minus sign

Re: Pre-DEP: community support of unmaintained versions of Django

2015-08-24 Thread Carl Meyer
Hi Christian, On 08/24/2015 03:52 PM, Christian Hammond wrote: > pip's removed support for dependency_links, requiring that all package > dependencies be made available on PyPI. This means there's no way we can > host a build of this ourselves, have a project depend on it, and build > the project

Re: Pre-DEP: community support of unmaintained versions of Django

2015-08-24 Thread Christian Hammond
On Wed, Aug 19, 2015 at 4:43 PM, Markus Holtermann wrote: > Hey Christian, > > On Wed, Aug 19, 2015 at 02:41:49PM -0700, Christian Hammond wrote: > >> Regarding the version number, from what I've read, there's still a >> reported >> compatibility issue if we use the +localidentifer part of a vers

Re: templates block prepend and append

2015-08-24 Thread Shai Berger
Hi and all, On Monday 24 August 2015 23:37:57 Collin Anderson wrote: > On Mon, Aug 24, 2015 at 2:25 AM, Amin Jun > > wrote: > > I liked his suggestion, I don't know if I'm using template tags > > correctly, but I'm writing a template tag {% load_comment > > comment_manager %} , "load_comment" re

Re: templates block prepend and append

2015-08-24 Thread Collin Anderson
Hi Jun, I think this might do what you want: {% block js %}{{ block.super }} {% endblock %} But, like the original poster said, please use django-users list for things like this. Thanks, Collin On Mon, Aug 24, 2015 at 2:25 AM, Amin Jun wrote: > I liked his suggestion, I don't know if I'm u

status of 1.9 release blockers

2015-08-24 Thread Tim Graham
Time to kickoff the progress tracker for the next major release! Here's the status with 4 weeks to go until alpha (September 21). Release blockers: - Add Oracle support for new-style GIS functions https://code.djangoproject.com/ticket/24688 Owner: Jani Tiainen Status: In progress (test suite run

Re: Django ORM query syntax enhancement

2015-08-24 Thread Alexey Zankevich
Hey Josh, Here is the current state of F support by different functions: * annotations (Count, Sum etc) - work * order_by - works partially (only asc order supported) * select_related, prefetch_related - don't work So, F is not a universal interface for getting paths right now. Also, there is a

Re: Improving MSSQL and Azure SQL support on Django

2015-08-24 Thread Tim Graham
I guess the first step is to identify which third-party backend(s) we'll target to adopt officially (or at least borrow from heavily). For example, will we need separate backends for MSSQL and Azure? (Knowing nothing about the landscape myself, this question could be nonsensical.) Is this discu

Ability to migrate other applications

2015-08-24 Thread Emmanuelle Delescolle
Hi everyone, I'd like to talk about giving the ability to migrate models from other applications and I am addressing this mailing list as suggested by Tim Graham (https://code.djangoproject.com/ticket/25288). Although I think this might be dangerous if mis-used, this is not the first time I co

Re: templates block prepend and append

2015-08-24 Thread Amin Jun
I liked his suggestion, I don't know if I'm using template tags correctly, but I'm writing a template tag {% load_comment comment_manager %} , "load_comment" renders a file "comments.html" and also needs a file "comment.js" and in any page that has comments, I have to add "comment.js" manually

Re: URL dispatcher API

2015-08-24 Thread Tim Graham
You would have to take a look at the pull request and figure out the status. As far as I know, there aren't any status updates elsewhere. On Monday, August 24, 2015 at 11:52:49 AM UTC-4, James Addison wrote: > > Assuming > https://www.google-melange.com/gsoc/project/details/google/gsoc2015/knbk/

Re: URL dispatcher API

2015-08-24 Thread James Addison
Assuming https://www.google-melange.com/gsoc/project/details/google/gsoc2015/knbk/5668600916475904 is the canonical source for the project details, what is the status of each of its goals? From a high level, the project seems well described on that page, but everything after (ie. status) seems

Re: URL dispatcher API

2015-08-24 Thread Tim Graham
I don't think so. Marten has been MIA unfortunately. Someone else could try to pick it up, but it seems a bit ambitious to complete in the time remaining before alpha. On Monday, August 24, 2015 at 10:02:38 AM UTC-4, James Addison wrote: > > Hi Marten, > > I'm just curious if this is still on tr

Re: URL dispatcher API

2015-08-24 Thread James Addison
Hi Marten, I'm just curious if this is still on track for inclusion within the Sept 21 Apha feature deadline? I've been using your Django `dispatcher_api` branch for a new project since I learned of your proposed changes and am excited to see them in stable Django. There hasn't been any changes

Re: A new setting for custom gettext domains?

2015-08-24 Thread Krzysio Gutkowski
Hi, It looks that implementing it in that ways makes more sense. However, if I were to implement it in that way, should I change both settings in one PR, or should I rework the LOCALE_PATHS setting in a separate PR? -- You received this message because you are subscribed to the Google Groups

Re: request for API review of streaming responses additions

2015-08-24 Thread Tom Christie
Potential there to treat these as separately reviewable pull requests. For example - needing streaming template generation doesn't *necessarily* imply needing streaming responses. The node-by-node rendering might mean imply that less memory is used during the template rendering, even if the com