django-views
Android django communication
In the below i am sending a request to a server where Applications are handled by django .My question is that from django how to send a response back to Android client..[详细]
2023-03-23 00:11 分类:问答Django won't serve static files while using development server
I just started a new development server for a website I am working on and I can\'t seem to get the Django development server to serve the static files I have for CSS and other things. The CSS for the[详细]
2023-03-22 07:00 分类:问答Adding extra_context in Django logout built-in view
In django/contrib/auth/views.py there is the definition of the logout view : def logout(request, next_page=None,[详细]
2023-03-21 19:42 分类:问答RequestContext on django redirect()
I\'m wondering if there is any way to include the RequestContext in the django redirect function or any other context.[详细]
2023-03-21 13:28 分类:问答typcasting queryset to list() errors in view function - works on the shell
sI have the following code: s = StoryCat.objects.filter(cat开发者_如何学运维egory=c) ids=s.values_list(\'id\',flat=True)[详细]
2023-03-21 10:29 分类:问答File upload with Django: Invalid form
First time posting a question. I\'ve basically copied everything I\'ve found on here and on the django documentation site and I can\'t figure out what I\'m doing incorrectly[详细]
2023-03-21 05:29 分类:问答Creating a password with an extra booleanField
I have the following problem. I made a registration password for my site so that a user needs to know this password to be able to register. Also I would like a boolean value linked to it which would d[详细]
2023-03-21 01:22 分类:问答How do I hyperlink an item returned from a queryset automatically
I have a model class Transaction(models.Model): sender = models.ForeignKey(MyBankAccount, unique=False, related_name=\"transactions_sent\")[详细]
2023-03-20 23:50 分类:问答How to append errors to form's "non_field_errors" from view?
Here is my situation. I have a web page for users to create their own accounts. On this page, there\'s reCaptcha to prevent bots. Onece a user click on \"Submit\", the reCaptcha validation is performe[详细]
2023-03-20 23:15 分类:问答django: how do I migrate this view to class-based generic view equivalent?
I have trouble transforming the following code into the new django 开发者_如何学运维1.3 class-based generic view format. Specifically, I don\'t understand how I can pass the \'extra_context\' to the c[详细]
2023-03-20 20:04 分类:问答