Re: Guide for migrating to a custom user model?

2013-05-18 Thread Ponytech
> > from reading it. > > > > I agree it is interesting. And useful - thank you Ponytech :) > My pleasure :) > However, it assumes a desire to transfer the deprecated user_profile > data into a custom user model inheriting from abstract_user. > > I'm l

Access request object in a custom template tag

2013-04-29 Thread Ponytech
Hello, I am currently writing a custom template tag and I need to access the request object within the tag code. When using tag helpers (*simple_tag*, *inclusion_tag *and *assignment_tag*) you can register them with an additional takes_context=True parameter that makes the request object