fork download
  1.  
  2. {% block content %}
  3.  
  4. {% if form.errors %}
  5. <p class="error">Сожалеем, вы неправильно ввели логин или пароль</p>
  6. {% endif %}
  7.  
  8. <form action='.' method='post'>
  9. <label for="username">Логин:</label>
  10. <input type="text" name="username" value="" id="username">
  11. <label for="password">Пароль:</label>
  12. <input type="password" name="password" value="" id="password">
  13.  
  14. <input type="submit" value="login" />
  15. <input type="hidden" name="next" value="{{ next|escape }}" />
  16. </form>
  17.  
  18. {% endblock %}
  19.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError:   File "prog.py", line 2
    {% block content %}
     ^
SyntaxError: invalid syntax

stdout
Standard output is empty