Re: django admin not working

2018-10-31 Thread oussama boumaad
Please check urls.py on the root project
It should contain :
urlpatterns = [ Path('admin/', admin.site.urls), ]

On Sat, Oct 20, 2018, 8:37 AM Adam Johnson  wrote:

> This mailing list is for the development of Django itself, not for
> support. Use the django-users mailing list for that, or IRC #django on
> freenode, or a site like Stack Overflow.
>
> On Sat, 20 Oct 2018 at 05:31, Muhammad Tahir 
> wrote:
>
>> Hello everyone,
>> i am following django tutorial (localhost) at following url
>> https://docs.djangoproject.com/en/2.1/intro/tutorial02/
>> when i try to access admin i.e http://127.0.0.1:8000/admin it gives
>> error "A server error occurred. Please contact the administrator."
>> although http://127.0.0.1:8000/polls works fine.
>>
>> Please help..
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django developers (Contributions to Django itself)" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-developers+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-developers@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-developers.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-developers/d7b3fef3-4d1e-4ef3-ad60-48120b53a691%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> Adam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CAMyDDM1wMd5U88twZbScP_CRpj4uQvs_JeS%2BNdLeOckiB4ugKA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAKYUqcWmYsMnifZjawkmDSKKeG9jfftJqxut2fUzRQbb3wND7g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django admin not working

2018-10-20 Thread Adam Johnson
This mailing list is for the development of Django itself, not for support.
Use the django-users mailing list for that, or IRC #django on freenode, or
a site like Stack Overflow.

On Sat, 20 Oct 2018 at 05:31, Muhammad Tahir  wrote:

> Hello everyone,
> i am following django tutorial (localhost) at following url
> https://docs.djangoproject.com/en/2.1/intro/tutorial02/
> when i try to access admin i.e http://127.0.0.1:8000/admin it gives error
> "A server error occurred. Please contact the administrator."
> although http://127.0.0.1:8000/polls works fine.
>
> Please help..
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To post to this group, send email to django-developers@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/d7b3fef3-4d1e-4ef3-ad60-48120b53a691%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Adam

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/CAMyDDM1wMd5U88twZbScP_CRpj4uQvs_JeS%2BNdLeOckiB4ugKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django admin not working

2018-10-20 Thread Muhammad Tahir
Hello everyone,
i am following django tutorial (localhost) at following url
https://docs.djangoproject.com/en/2.1/intro/tutorial02/
when i try to access admin i.e http://127.0.0.1:8000/admin it gives error "A 
server error occurred. Please contact the administrator."
although http://127.0.0.1:8000/polls works fine.

Please help..

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d7b3fef3-4d1e-4ef3-ad60-48120b53a691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.