Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-24 Thread sankar vasu
Dear Luis, I got it. Thank you so much. On Thu, Sep 24, 2015 at 1:05 AM, Luis Zárate wrote: > As Remco said your problem are with your pattern because starts with $ or > have ^*$* > > > > [projectname]/ > ├── [projectname]/ > │ ├── __init__.py > │ ├── settings.py > │

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-23 Thread Luis Zárate
As Remco said your problem are with your pattern because starts with $ or have ^*$* [projectname]/ ├── [projectname]/ │ ├── __init__.py │ ├── settings.py │ ├── urls.py <-- The error is here │ └── wsgi.py └── manage.py └── blog/ └── __init__.py └── models.py

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-23 Thread sankar vasu
Dear Luis, As you said, i tried but can't success. Thanks in advance Sankar B On Wed, Sep 23, 2015 at 12:29 AM, Luis Zárate wrote: > > 2015-09-22 12:48 GMT-06:00 sankar vasu : > >> {{ post.title >> }} > > > try: > > {{ post.title }} > > If not found

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-22 Thread Luis Zárate
2015-09-22 12:48 GMT-06:00 sankar vasu : > {{ post.title }} try: {{ post.title }} If not found then check your project url.py , do you have something like urlpatterns = [ url(r'^$', include('myapp.urls') ), ] -- "La utopía sirve para caminar" Fernando

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-22 Thread sankar vasu
Dear Luis, FYI: post_detail.html --- {% extends "blog/base.html" %} {% block content %} {% if post.published_date %} {{ post.published_date }} {% endif %} {{ post.title }} {{ post.text|linebreaks

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-22 Thread Remco Gerlich
According to the error, your pattern starts with $, which is an obvious mistake. But the "url.py" you quote has ^. Maybe it was using an old version, or you haven't copied the right one. Greetings, Remco Gerlich On Sat, Sep 19, 2015 at 9:42 AM, sankar vasu wrote: > Hi

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-21 Thread Luis Zárate
The error is in the template, please check the url statement inside the template. Or share with ours the template file. El sábado, 19 de septiembre de 2015, sankar vasu escribió: > Hi All, > > I got below error, please advise. please look at the following link:

Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-19 Thread sankar vasu
Hi All, I got below error, please advise. please look at the following link: http://pysan.pythonanywhere.com/ [image: Inline image 1] *url.py*from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.post_list, name='post_list'),