Wednesday, June 20, 2018

Re: Regarding an issue

Well you only have /admin and /music in urls.py you need to add / when you configure your ulrpatterns

Le mer. 20 juin 2018 13:47, Julio Biason <julio.biason@azion.com> a écrit :
Hi Mayank,

You tried to access "/"; there is no url associated with this path, so it's a 404. The only valid URLs are `/admin` and `/music`.

If you want to see something when accessing `/`, you need to create a view for it and associate it in your `urls.py`.

On Wed, Jun 20, 2018 at 9:39 AM, Mayank Bhatia <mbhatia404@gmail.com> wrote:
hi all

I am getting an error while creating the views when i try to run the server this Page not found (404) error is being generated. but the admin section works fine. i am attaching the image.i have also tried making migrations but nothing happened. kindly help to solve this asap.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANeih2fWAJZEkD0%2BVey_Hj2cd4Cp7OEMY3qw%3DNk41eQGbi-vtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEM7gE1%2BKfvFSmOzH1HZW4gQCp2PtFaLPc2_9Eq81Jh%2Bc30AsQ%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 users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAAq3G-Gd7k7wUcwCWJKAWahpBxd%3DxyXDU8aAhCkwGsQCYaFXhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment