Custom Query (26786 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 26786)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#10003 invalid if and extends in template nobody 0ptr
Description
{% if mobile %}
{% extends 'base_mobile.html' %}
{% else %}
{% extends 'base_normal.html' %}
{% endif %}


Throws following exception:

Exception Type:	TemplateSyntaxError
Exception Value:	
Invalid block tag: 'else'
Exception Location:	/home/dsduser/django-synble/django/template/__init__.py in invalid_block_tag, line 333

I think this should be supported. Second option is to write include correctly so that include does not broke inheritance. E.g.:

basbase.html: has block

base.html: include "basebase.html"

logic.html: extends "base.html", inheritance of basbase.html block does not work here anymore.

#13180 worksforme html template links broken nobody 114fc69b8e6e93c0447be8de
Description

the problem isn't with the python code, it's with the html templates. I have a site that checks if someone is logged in and if not provides the following link: "/accounts/login". Everything is works until I press the login link. nothing happens. The url at the top of the screen changes and even if you try to refresh after the url has changed nothing happens. The source is fine: I checked it. I would think this problem was my fault, but when you type in "/accounts/login" yourself it works fine. Because of this I assume he problem is rooted in the HTML and template system.

#20106 invalid A little optimazon--"0 errors found" nobody 1458409827@…
Description

When I ran "python manage.py validate", it gave me "0 errors found". I think it should be "0 error found".

Thanks.

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.
Back to Top