About 50,200 results
Open links in new tab
  1. python - How to change the Django default runserver port

    70 As of Django 1.9, the simplest solution I have found (based on Quentin Stafford-Fraser's solution) is to add a few lines to manage.py which dynamically modify the default port number …

  2. python - How to check Django version - Stack Overflow

    Jun 24, 2011 · 815 Django 1.5 supports Python 2.6.5 and later. If you're under Linux and want to check the Python version you're using, run python -V from the command line. If you want to …

  3. python - How to get GET request values in Django? - Stack Overflow

    641 I am currently defining regular expressions in order to capture parameters in a URL, as described in the tutorial. How do I access parameters from the URL as part the HttpRequest …

  4. python - Django TemplateDoesNotExist? - Stack Overflow

    Dec 18, 2009 · My local machine is running Python 2.5 and Nginx on Ubuntu 8.10, with Django builded from latest development trunk. For every URL I request, it throws: …

  5. python - Django values_list vs values - Stack Overflow

    May 13, 2016 · The best place to understand the difference is at the official documentation on values / values_list. It has many useful examples and explains it very clearly. The django docs …

  6. python - How to activate Virtual Environment in DJango - Stack …

    Mar 13, 2019 · How to activate Virtual Environment in DJango Asked 6 years, 8 months ago Modified 4 years, 2 months ago Viewed 128k times

  7. python - How do I include image files in Django templates

    May 23, 2009 · I'm new to Django and I'm trying to learn it through a simple project. I'm developing a system called 'dubliners' and an app called 'book'. The directory structure is like …

  8. No module named django but it is installed - Stack Overflow

    I also faced the same problem. i was using python 3.7 and installed django 2.2. So i degraded my python to 3.6 and installed django 2.2, and without having a virtualenv.

  9. Creating a JSON response using Django and Python

    592 I'm trying to convert a server side Ajax response script into a Django HttpResponse, but apparently it's not working. This is the server-side script:

  10. python - How to access the local Django webserver from outside …

    I followed the instructions here to run Django using the built-in webserver and was able to successfully run it using python manage.py runserver. If I access 127.0.0.1:port locally from …