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
> │
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
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
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
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
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
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:
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'),
8 matches
Mail list logo