The url "env/" is not validatingbecause the *re *is expecting

r'^(?P<slug>[-_\w]+)/event/$'

and not

r'^/event/$'

you have to check your *re *skills XD


2014-07-18 14:54 GMT+01:00 ngangsia akumbo <[email protected]>:

> It is still breaking
>
>
> On Friday, July 18, 2014 1:56:38 PM UTC+1, Sergiy Khohlov wrote:
>
>> try to use
>> url(r'^/event/$', EventDetailView.as_view(), name='Event-detail')
>>
>>
>>  and ofcourse turn off color
>>
>> Many thanks,
>>
>> Serge
>>
>>
>> +380 636150445
>> skype: skhohlov
>>
>>
>> On Fri, Jul 18, 2014 at 3:43 PM, ngangsia akumbo <[email protected]>
>> wrote:
>>
>>>  it gives me this error
>>> Page not found (404) Request Method:GET Request URL:
>>> http://127.0.0.1:8000/event/
>>>
>>> No post found matching the query
>>>
>>> You're seeing this error because you have DEBUG = True in your Django
>>> settings file. Change that to False, and Django will display a standard
>>> 404 page.
>>>
>>>
>>>>  --
>>> 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/f68ef88b-e1a5-4aef-b0b3-cb91730ba312%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/f68ef88b-e1a5-4aef-b0b3-cb91730ba312%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/0c4f31f2-9c39-4639-a371-32e258153608%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0c4f31f2-9c39-4639-a371-32e258153608%40googlegroups.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%2BxOsGDt%3DtQeoFmQf%3DYmfXTVQFYA%2B9J84J1cNCeJuND-huJzyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to