-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{% block content %}{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
{% extends "base.html" %} | ||
|
||
{% load friendly_loader %} | ||
{% friendly_load error_tags %} | ||
{% friendly_load webdesign %} | ||
|
||
{% if_has_tag lorem %} | ||
{% block content %} | ||
{% if_has_tag lorem %} | ||
<p>SUCCESS</p> | ||
{% lorem %} | ||
{% else %} | ||
{% else %} | ||
<p>FAIL</p> | ||
{% endif_has_tag %} | ||
{% endif_has_tag %} | ||
|
||
{% if_has_tag fail %} | ||
{% if_has_tag fail %} | ||
<p>FAIL</p> | ||
{% fail %} | ||
{% else %} | ||
{% else %} | ||
<p>SUCCESS</p> | ||
{% endif_has_tag %} | ||
{% endif_has_tag %} | ||
|
||
{% ifnot_has_tag now nonexisting_tag %} | ||
{% ifnot_has_tag now nonexisting_tag %} | ||
{% now "Y" %} | ||
{% endifnot_has_tag %} | ||
{% endifnot_has_tag %} | ||
|
||
{% if_has_tag now %} | ||
{% if_has_tag now %} | ||
{% now "Y" %} | ||
{% else %} | ||
{% else %} | ||
FAIL | ||
{% endif_has_tag %} | ||
{% endif_has_tag %} | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters