The current URL, accounts/login/, didn't match any of these. says that you
dont have this url "accounts/login/" mapped in your urls.py file

2014-12-31 9:14 GMT+00:00 James Schneider <[email protected]>:

> Hello,
>
> Without seeing your code, it is difficult to tell you exactly what is
> wrong, but your view is requiring the user to already be logged in, and
> since it isn't, Django is redirecting you to the default LOGIN_URL setting,
> which is not defined in your urls.py.
>
> https://docs.djangoproject.com/en/1.7/ref/settings/#login-url
>
> We'll need more information, such as relevant code snippets and a list of
> modules used to provide a better answer.
>
> -James
> On Dec 30, 2014 11:03 PM, "Hossein Rashnoo" <[email protected]> wrote:
>
>> Hi
>> I follow this tutorial and here
>> <https://django-oauth-toolkit.readthedocs.org/en/0.7.0/tutorial/tutorial_01.html#create-an-oauth2-client-application>
>>  i
>> got error. when i try to access http://localhost:8000/o/applications/ its
>> redirect to  http://localhost:8000
>> <http://localhost:8000/o/applications/>/accounts/login/?next=/o/applications/
>> and django 404 error appear that tells:
>> The current URL, accounts/login/, didn't match any of these.
>> Please help me.
>>
>> --
>> 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 [email protected].
>> To post to this group, send email to [email protected].
>> 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/d1d60238-c0f0-4704-b41d-5d8224ca5da5%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/d1d60238-c0f0-4704-b41d-5d8224ca5da5%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/CA%2Be%2BciXq8zrB0cYRjed9cPrkOqU07zRDAPo8m4koAVKBPbj6fw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2Be%2BciXq8zrB0cYRjed9cPrkOqU07zRDAPo8m4koAVKBPbj6fw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*monoBOT*
Visite mi sitio(Visit my site): monobotsoft.es/blog/

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CA%2BxOsGATqui0hcH2%2BCgx4%2BQTaw2Cozd4C8uP2y9aRL4SxTA_Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to