ok, thanks everyone
2011/3/31 Łukasz Rekucki :
> On 31 March 2011 18:50, Lic. José M. Rodriguez Bacallao
> wrote:
>> well, I don't know if this is ok, but I solved the problem adding a
>> name='help_subject' tu the urlconf line
>
> Sorry, I couldn't answer earlier, but yes - that is exactly what
On 31 March 2011 18:50, Lic. José M. Rodriguez Bacallao
wrote:
> well, I don't know if this is ok, but I solved the problem adding a
> name='help_subject' tu the urlconf line
Sorry, I couldn't answer earlier, but yes - that is exactly what you
should do. Class-based views can't be referenced by u
You have created a "Named URL pattern". Check out:
http://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns
On Thu, Mar 31, 2011 at 9:50 AM, Lic. José M. Rodriguez Bacallao <
jmr...@gmail.com> wrote:
> well, I don't know if this is ok, but I solved the problem adding a
> name='h
well, I don't know if this is ok, but I solved the problem adding a
name='help_subject' tu the urlconf line
On Thu, Mar 31, 2011 at 12:37 PM, Lic. José M. Rodriguez Bacallao
wrote:
> sorry, I have atypo in the previous code, this is the las line:
>
> (r'(?P[0-9A-Za-z-]+)', HelpSubject.as_view()),
sorry, I have atypo in the previous code, this is the las line:
(r'(?P[0-9A-Za-z-]+)', HelpSubject.as_view()),
On Thu, Mar 31, 2011 at 12:36 PM, Lic. José M. Rodriguez Bacallao
wrote:
> I am getting a this error:
> TemplateSyntaxError at /help/
>
> Caught NoReverseMatch while rendering: Reverse
I am getting a this error:
TemplateSyntaxError at /help/
Caught NoReverseMatch while rendering: Reverse for
'apps.help.views.HelpSubject.as_view()' with arguments '()' and
keyword arguments '{'slug': u'gdsgdgdg'}' not found.
On Thu, Mar 31, 2011 at 12:33 PM, Lic. José M. Rodriguez Bacallao
wrote
I mean url tag: {% url ... %}
this is what I am using: Leer
mas...
directory structure:
site
|--> url.py
|--> apps (included in the python path)
|--> help
|--> models.py
|--> views.py
|--> urls.py
where:
"apps" is a package (is in the pyt
On 31 March 2011 17:16, Lic. José M. Rodriguez Bacallao
wrote:
> use the tag:
> url
What do you mean by that ? Do you mean the {% url %} template tag, or
the `url` function commonly used in urls.py module. Give us some
examples of what you want to achieve and what problems you have.
--
Łukasz Re
hi folks, I was using django 1.2.5 and generic views to some simple
things, now, I upgrade to django 1.3 and I am trying to use the tag:
url but it doesn't seems to work with django class based generic
views. How to use this tag correctly?
--
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Me
9 matches
Mail list logo