About 6,220,000 results
Open links in new tab
  1. Django MEDIA_URL and MEDIA_ROOT - Stack Overflow

    Mar 29, 2017 · Learn how to configure Django's MEDIA_URL and MEDIA_ROOT settings for managing media files effectively in your project.

  2. python - What is the difference between Django and Django Rest ...

    Django is the web development framework in python whereas the Django Rest Framework is the library used in Django to build Rest APIs. Django Rest Framework is especially designed to make the …

  3. 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: TemplateDoesNotExist at …

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

    Jun 24, 2011 · 816 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 check the …

  5. Django - makemigrations - No changes detected - Stack Overflow

    Mar 22, 2016 · I was trying to create migrations within an existing app using the makemigrations command but it outputs "No changes detected". Usually I create new apps using the …

  6. What does on_delete do on Django models? - Stack Overflow

    Jul 15, 2016 · I'm quite familiar with Django, but I recently noticed there exists an on_delete=models.CASCADE option with the models. I have searched for the documentation for the …

  7. How can I list urlpatterns (endpoints) on Django? - Stack Overflow

    How can I list urlpatterns (endpoints) on Django? Asked 16 years, 4 months ago Modified 1 year, 4 months ago Viewed 172k times

  8. python - Setting Django up to use MySQL - Stack Overflow

    In the tutorial I followed the guy installed Django, started his first project, restarted Apache, and Django just worked from then on. He went to his browser and went to the Django default page with no …

  9. ImportError: cannot import name 'url' from 'django.conf.urls' after ...

    Dec 11, 2021 · Running which django-admin or django-admin --version might help you figure out what is going on. Use python -m django to ensure you use the correct django for your virtual env, e.g. python …

  10. python - Uninstall Django completely - Stack Overflow

    Jan 3, 2014 · I uninstalled django on my machine using pip uninstall Django. It says successfully uninstalled whereas when I see django version in python shell, it still gives the older version I …