Django, "the web framework for perfectionists with deadlines", is a Python-based framework for creating web applications. With a powerful object-based database mapper, a clean syntax for mapping URLs to views, a simple template language and a convenient automatically generated administration interface, Django is the most popular of the Python web frameworks.
Questions tagged [django]
1033 questions
2
votes
2 answers
Django-Mailer won't stop sending emails
I set up Django Mailer and added the two commands to the crontab:
* * * * * root python /srv/www/cpm/manage.py send_mail >> /srv/www/cpm/cron_mail.log
0,20,40 * * * * root python /srv/www/cpm//manage.py retry_deferred >>…
Garfonzo
- 499
1
vote
0 answers
Can I give a staff user delete access without change access?
I manage a django-1.6 application where I want to give a staff user access to delete instances of a specific model through the /django interface without giving that staff user access to change instances of that model.
For each model there are three…
kasperd
- 30,696
0
votes
1 answer
Entire Application in Django server shuts down with single error
I am new to Python and django , I worked on C# and php as developer earlier. My problem here is Entire Application in Django shuts down with single error.
for example i start my website with "python3 manage.py runserver 0.0.0.0:8000" example:-- i…
Amit Sharma
- 103
0
votes
0 answers
Django - How many simultaneous requests are possible
I have a Django app running on Heroku. At the moment I only have 1 dyno. One of the urls generates a pdf from database values and this takes about 4 seconds. Since I only have 1 dyno, does it mean that while the pdf is busy generating, my dyno can't…
Kritz
- 135
0
votes
1 answer
Django -- test server running in background... somewhere
Using Putty on my Vista machine, I logged into my development server (Ubuntu) and fired up the Django Test server. I left my computer for a while (physically) and returned to find the Putty connection had timed out. No biggy, I just logged back into…
Garfonzo
- 499
0
votes
1 answer
How to serve Django admin media files on Bluehost
I have set up Django 1.3 onto my BlueHost account with Python 2.6 and it is working well except when I enter the admin area it is void of any css/formatting - all I get is text. In my research I found that I need to set up the web server to 'serve'…
Steve
- 109
0
votes
0 answers
ValidationError on formset after user stopped POST request with browser goback
I have a django admin form containing a multiple files field and some inlines formsets after.
When user's connexion is slow, it happens they close the page or go back to the previous page (no patience or any other reason) while files are still…
yo_e-h
- 3
- 2
0
votes
0 answers
Django DateFilter - input_format change
I need to change input format just for one field. I need to accept 31/03/2020 instead of 3/31/2020.
If I enter 3/31/2020 then it's works, but when try 31/03/2020 then appears Enter a valid date.
This can be done global by DATETIME_INPUT_FORMATS but…