access django admin got error 500

49 views
Skip to first unread message

erik freaks

unread,
Sep 11, 2015, 6:51:51 AM9/11/15
to django...@googlegroups.com
Hi, I'm new in django, I had create simple website using django and deploy it to apache server, but when I try to access admin page I got error 500..

please someone with experience with django+apache help me..
thanks

James Schneider

unread,
Sep 11, 2015, 7:07:51 AM9/11/15
to django...@googlegroups.com

You'll need to provide more information. What do the apache logs state that the error was? was there a traceback? Can you enable DEBUG temporarily to pull down the traceback?

-James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAG0MBoFus7EgFE2jzKm1zVNaL%3DJoJ%2BZYpS7YxCHFtYp0TdbaA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Mike Dewhirst

unread,
Sep 11, 2015, 7:18:17 AM9/11/15
to django...@googlegroups.com
On 11/09/2015 3:59 AM, erik freaks wrote:
> Hi, I'm new in django, I had create simple website using django and
> deploy it to apache server, but when I try to access admin page I got
> error 500..

Try setting DEBUG = True so Django can report the actual error for you.

Doing this is normal in development but insecure in production or where
the public might see the error detail.

>
> please someone with experience with django+apache help me..
> thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users...@googlegroups.com
> <mailto:django-users...@googlegroups.com>.
> To post to this group, send email to django...@googlegroups.com
> <mailto:django...@googlegroups.com>.
> <https://groups.google.com/d/msgid/django-users/CAAG0MBoFus7EgFE2jzKm1zVNaL%3DJoJ%2BZYpS7YxCHFtYp0TdbaA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Nihad Dizdarevic

unread,
Sep 11, 2015, 7:18:17 AM9/11/15
to Django users

Nihad Dizdarevic

unread,
Sep 11, 2015, 7:18:23 AM9/11/15
to Django users
I hope this helps you

Am Freitag, 11. September 2015 08:51:51 UTC+2 schrieb freaksnoid:

swaraj aryan

unread,
Sep 11, 2015, 7:40:31 AM9/11/15
to django...@googlegroups.com

Try to use wsgi thing.also u have to install wsgi module and also mention that in httpd.conf file about wsgi module.later make sure you are mentioning right path in conf file directing towards right django code.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.

asark...@gmail.com

unread,
Sep 11, 2015, 7:56:07 AM9/11/15
to django...@googlegroups.com
Where are you hosting this web site ?

Sent from my HTC


----- Reply message -----
From: "erik freaks" <freak...@gmail.com>
To: <django...@googlegroups.com>
Subject: access django admin got error 500
Date: Fri, Sep 11, 2015 8:29 AM

erik freaks

unread,
Sep 15, 2015, 1:06:18 AM9/15/15
to django...@googlegroups.com
I got this exception value
"no such column : django_content_type.name"

in this debug show that I'm using django 1.7.6, but when I check to my virtualenv django version is 1.8


Reply all
Reply to author
Forward
0 new messages