Région de recherche :

Date :

https://stackoverflow.com › questions › 61712858

Cannot connect to localhost:8000/admin page, Django

I created a superuser for my site, but when I started the server and tried to connect to the localhost:8000/admin page, I got an ERR_CONNECTION_REFUSED (site cannot be reached) error, and the server stopped running.

https://docs.djangoproject.com › en › 5.1 › ref › django-admin

django-admin and manage.py | Django documentation | Django

Learn how to use django-admin and manage.py to run various commands for your Django project, such as check, compilemessages, createcachetable, dbshell, etc. See the options, arguments, and examples for each command.

https://stackoverflow.com › questions › 61115228

Can't log into localhost:8000/admin ... ERR_CONNECTION_REFUSED

Try to access 127.0.0.1:8000/admin instead of localhost:8000/admin. In django's settings set ALLOWED_HOSTS = ['*'] (NOTE: This is only for development). Check if something else is not already runnning on that port. You can use the following command on Mac lsof -Pn -i4 | grep -i "listen".

https://developer.mozilla.org › fr › docs › Learn › Common_questions › Tools_and_setup › set_up_a...

Comment configurer un serveur de test local - MDN Web Docs

Vous pouvez aller à ce serveur en saisissant l'URL localhost:8000 dans votre navigateur web. Vous verrez le listing du dossier dans lequel le serveur tourne — cliquer le fichier HTML que vous voulez exécuter.

https://docs.djangoproject.com › fr › 5.1 › ref › django-admin

django-admin et manage.py | Documentation de Django

Démarre un serveur web de développement léger sur la machine locale. Par défaut, le serveur fonctionne sur le port 8000 à l’adresse IP 127.0.0.1. Vous pouvez lui transmettre explicitement une adresse IP et un numéro de port.

https://www.w3schools.com › django › django_admin.php

Django Admin - W3Schools

Django Admin is a CRUD user interface of all your models in Django. Learn how to start the server, enter the admin user interface, and customize it with urls.py and settings.py.

Django Admin - W3Schools

https://www.univ-orleans.fr › iut-orleans › informatique › intra › tuto › django › django-admin.html

Utilisation de l’interface d’administration — Tuto Django 2023

Apprenez à créer un compte d’administrateur, à ajouter un modèle de tâches à l’interface d’administration et à personnaliser son affichage avec Django. Suivez les étapes et les commandes indiquées dans ce tutoriel.

https://www.digitalocean.com › ... › how-to-enable-and-connect-the-django-admin-interface

How To Enable and Connect the Django Admin Interface

In this tutorial, you have successfully enabled the admin interface, created an admin login, and registered the Post and Comment models with the admin. The Django admin interface is how you will be able to create posts and monitor comments with your blog.

How To Enable and Connect the Django Admin Interface

https://dev.to › dilutewater › lets-learn-django-6-using-database-admin-panel-2m8

Let's Learn Django #6: Using Database & Admin Panel

Learn how to use Django databases, models, migrations, and ORM to store and manipulate data. Access the admin interface at localhost:8000/admin with a superuser account.

Let's Learn Django #6: Using Database & Admin Panel

http://www.python-simple.com › python-django-developpement-web › django-admin.php

Interface administration - python-simple.com

Interface administration. Pour créer un utilisateur qui pourra accéder au site d'administration : manage.py createsuperuser (permet la création en interactif). Interface d'administration : par défaut, son adresse est : http://localhost:8000/admin (sinon, adapter le port s'il a été changé).