Does this table need to be purged or is it taken care of 开发者_开发百科automatically by Django?Django does NOT provide automatic purging. There is however a handy command available to help you do it
Basically I want to make a variable persitent in Django and I don\'t know how. To be more precise, I want a user to choose a specific project when he logs in the site (via a ChoiceField for example).
It开发者_运维技巧9;s difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form.
I want admins to be notified when certain objects are deleted but I also want to determine which user is performing the delete.
By setting SESSION_COOKIE_AGE and turning SESSION_SAVE_EVERY_REQUEST, it will log people out after a certain time of inactivity. But is there anyway to r开发者_开发问答edirect after say 5 mins of inac
I am using Django-secretballot app which allows anonymous voting. First we register a model for secret voting and then there is a function add_vote() which takes 2 arguments. \'Token\' and vote value(
I 开发者_StackOverflow社区am using Django and my website has no user profiles so all are anonymous. I want to implement a \'like\' system. How do I restrict a user to like only once. Thanks.If you don
For my website pretty much every page has a header bar displaying \"Welcome开发者_如何学编程, ABC\" where \"ABC\" is the username. That means request.user will be called for every single request resul
I came across Django request.session; I know how to set and test it for a specific value. request.session[\'name\'] = "dummy"
My Django app has Post ob开发者_高级运维jects. Each Post has an IntegerField that gets incremented whenever a certain link is clicked. When that link is clicked, I set a cookie to indicate that it has