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 - Django - makemigrations - No changes detected - Stack …

    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 …

  3. running django-admin as a python module - Getting Started

    Nov 14, 2024 · I can’t seem to run some exe files on my work laptop. Instead of pip install django djangorestframework I managed to workaround with python -m pip install django …

  4. How change default from Python 3.9 to Python 3.12 So I can …

    Nov 27, 2024 · How change default from Python 3.9 to Python 3.12 So I can Install Django 5.0.0 Using Django Getting Started ZacAmata November 27, 2024, 2:16pm

  5. django - no python at …

    Nov 10, 2020 · This might be occurs if the python directory still in the environment variables path list. First remove python entry from the environment variables path if exists.

  6. 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 …

  7. python - How to combine multiple QuerySets in Django? - Stack …

    9 Requirements: Django==2.0.2, django-querysetsequence==0.8 In case you want to combine querysets and still come out with a QuerySet, you might want to check out django-queryset …

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

    May 23, 2009 · For about how to serve and where to place your static files, check out this document. Basicly, if you're using django's development server, you want to show him the …

  9. python - How to perform OR condition in django queryset

    I want to write a Django query equivalent to this SQL query: SELECT * from user where income >= 5000 or income is NULL. How to construct the Django queryset filter? …

  10. Errors when i use python manage.py runserver - Django Forum

    Feb 17, 2024 · Please help me, I’ve been sitting with this bug all day and trying to solve it. when running python manage.py runserver I get this: Traceback (most recent call last ...