This is somewhat related to the question posed in this question but I\'m trying to do this with an abstract base class.
I have two models in my Django 1.1.1 application: class UserRequest(models.Model): # blah blah class JournalistRequest(UserRequest):
I was hunting around the Internet for a way to easily allow users to blank out imagefield/filefields they have set in the admin.
\'m tryin开发者_如何学Gog to make a small modification to django lfs project, that will allow me to deactivate products with no stocks. Unfortunatelly I\'m just beginning to learn python, so I have bi
I\'m trying to secure an application so that users can only see objects which are assigned to them.I\'ve got a custom QuerySet which works for this, but I\'m trying to find a way to force the use of t
i want to authenticate users using firstname and lastname This is the code i am using user = auth.authenticate(first_name=firstname,last_name=l开发者_Go百科astname,password=password)
Lets say I have this class (simplified): class Tag (...): children = models.ManyToManyField(null=True, symmetrical=False)
A form will be spitting out an unknown number of questions to be answered.each question contains a prompt, a value field, and a开发者_StackOverflow中文版 unit field.The form is built at runtime in the
I am writing website and i`d like to implement profile managment. Basic thing would be to e开发者_开发知识库dit some of user details by themself, like first and last name
I\'m working on creating a simple website for an exhibition. It\'s intended to use django with django CMS as much as possible - so Django admin site will be used.