D
D
David52020-02-03 13:01:00
Django
David5, 2020-02-03 13:01:00

How to login to adminpanel when the site is hosted?

Hello, now everything is clear on the local server, when I make an order on the site, I can go to the admin panel through /admin and see who ordered what, how much, what. I want to host the site, but I don’t know how to enter the admin panel through /admin too? And all applications (database) will be hosted?
I don't know if the question is clear, if I can explain.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Kuts, 2020-02-03
@David5

I want to host the site, but I don’t know how to enter the admin panel through /admin too

Yes - everything is exactly the same - also go through / admin
And all applications (database) will be hosted?

This question should be asked to the person who will transfer the site to hosting. If he transfers the data from base there - that yes.

C
constlapkin, 2020-02-03
@constlapkin

In theory, on the hosting, you will need to carry out the same procedures as on the local server (installing django (which is usually located in the virtual space) and other dependencies). Check with hosting support for console access and python support.
Create a superuser to access the administration panel /admin:
python manage.py createsuperuser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question