Hi Julio,
Thanks a lot for the response! Unfortunately no, the deployment is done
with wsgi and apache using shared hosting :(. I actually also get the error
if I don't use the prefix (the mysite part was just a test) so that
possibly means that the prefix isn't causing the issue, but I could easi
Hi Stephen,
How are you deploying? Are you using uwsgi and nginx? 'Cause there is an
option on the nginx document configuration that you an point to drop a
prefix -- in this case, the "mysite/" prefix. If you don't use it, Django
will receive the whole path, "/mysite/admin/login" and won't find it
Hi James,
Thanks for the reply. Yes, I did both of these (a few times to be sure!),
but unfortunately it still doesn't seem to work. Actually the database
itself seems to be working fine, it's just the admin that's the problem.
Cheers,
Stephen
On Wednesday, 16 May 2018 17:00:01 UTC+1, James Fa
Did you run python manage.py migrate on your dev server? And create a super
user (python manage.py createsuperuser)
On Wed, May 16, 2018 at 8:06 AM Stephen Farry
wrote:
> Hi All,
>
> I have a peculiar issue with the admin on Django. Using the Django
> development server, I can use the admin with
Hi All,
I have a peculiar issue with the admin on Django. Using the Django
development server, I can use the admin without any issues at all. However,
when I deploy it on the server, I still get the admin page, but when I try
to log in I get a 404 error. I reduced this back to the tutorial, but
5 matches
Mail list logo