[GSoC] Application Loading

2010-04-08 Thread Nick Sandford
An App Loading mechanism for Django About Me -- Hi everyone, My name is Nick Sandford, I'm an electrical engineering student at the University of Western Australia. Background --- I haven't been a particularly active contributor t

Re: [GSoC] Application Loading

2010-04-08 Thread Nick Sandford
ers/browse_thread/thread/4cca2086dd485879?hl=en, > there's a question you avoided delicately, about what to do with > ForeignKey. It might also help. As far as I see that, it's more about what to do when you have two instances of the same application, which I won't be attemp

Re: Application Loading

2010-04-08 Thread Nick Sandford
On Fri, Apr 9, 2010 at 5:21 AM, Vinay Sajip wrote: > > > Have you looked at the patch on ticket 3591 which does some of this > already? Would you be using it as a starting point? It's a great place to start, and gives a good idea about where to look for problems. I'm not sure about get_installed_

Re: [GSoC] Application Loading

2010-04-09 Thread Nick Sandford
An updated proposal: An App Loading mechanism for Django About Me -- Hi everyone, My name is Nick Sandford, I'm an electrical engineering student at the University of Western Australia. Background --- I haven't been a particula

Re: [GSoC] Application Loading

2010-04-09 Thread Nick Sandford
On Fri, Apr 9, 2010 at 2:59 PM, Russell Keith-Magee wrote: > On Fri, Apr 9, 2010 at 12:33 AM, Nick Sandford > wrote: >> An App Loading mechanism for Django >> >> >> About Me >> -- >> Hi everyone, >>

Overriding AppConfig.get_model(s)

2014-07-25 Thread Nick Sandford
I was just working on #22986 and it seems that if the AppConfig.get_model(s) methods are overridden, migrations for models that are excluded are still run. Is this a known issue? Am I abusing get_model(s) or should I file a ticket for this? Cheers, Nick https://code.djangoproject.com/ticket/2298

Re: Overriding AppConfig.get_model(s)

2014-07-25 Thread Nick Sandford
from > those, so you won't be able to affect them by overriding methods. If you > want to exclude models from migrations use router.allow_migrate. > > Andrew > > > On Fri, Jul 25, 2014 at 11:59 AM, Nick Sandford > wrote: > >> I was just working on #22986 and it

Re: Overriding AppConfig.get_model(s)

2014-07-25 Thread Nick Sandford
our bugs with swappable models. > > Andrew > > > On Fri, Jul 25, 2014 at 12:48 PM, Nick Sandford > wrote: > >> Ahh ok, that makes sense -- I guess there's no difference between >> overriding get_model(s) and manually deleting the model out of the source >> to

Re: Overriding AppConfig.get_model(s)

2014-07-25 Thread Nick Sandford
> > If you're happy saying the same thing about sessions, then go and tie the > model's managed option to the setting - that should do what you want - but > people are going to get real confused when they change the setting and the > table isn't made for them. &g

Re: Proposal: Write unit tests for JavaScript

2014-08-01 Thread Nick Sandford
So, I have been working a little on a PR for this ( https://github.com/django/django/pull/3003) and having spoken to Tim briefly about getting this supported in jenkins I just wanted to check that the approach was OK. The tests use node, grunt, qunit, istanbul and jshint. Is this a reasonable appro