Re: Custom Users + Signals (reusable app)

2013-10-29 Thread charettes
Here's a POCwhich passes all tests on Py2 SQLite. Le mardi 29 octobre 2013 23:10:39 UTC-4, charettes a écrit : > > It is possible to attach signals to `settings.AUTH_USER_MODEL` while > taking its swappable nature into account. >

Re: Custom Users + Signals (reusable app)

2013-10-29 Thread charettes
It is possible to attach signals to `settings.AUTH_USER_MODEL` while taking its swappable nature into account. There might be a better way but that's how I've done it for a reusable application of mine

Custom Users + Signals (reusable app)

2013-10-29 Thread Val Neekman
Folks, I am to release an app as a reusable app. However, the app makes the use of post_save signals raised by the User model and there is a problem. With the limitation of a Custom User + Signals in mind, I cannot really call it a "true" reusable app, if it doesn't work for setups that have roll

Re: Django Tutorials

2013-10-29 Thread Jasvir Singh
On Tue, Oct 29, 2013 at 9:55 AM, Daniel Greenfeld wrote: > Javair, It's Jasvir. :P > and then goes into asking that users not work on it. Is this why you don't > want to work on it? No. When I was a beginner, the size of each topic makes me feel fear from django. I was like, "do I have to read

Re: When to use single quotes and double quotes

2013-10-29 Thread Aymeric Augustin
On 29 oct. 2013, at 04:41, Andres Osinski wrote: > Use double quotes for strings meant for human consumption, use single > quotes for everything else. I’m usually doing that in new code. I don’t think it’s worth retrofitting the entire Django codebase, though. -- Aymeric. -- You received