Skip to content
Snippets Groups Projects
Commit 4a03698a authored by josiepark's avatar josiepark
Browse files

django-tutorial

parents
Branches
No related tags found
No related merge requests found
{% extends "admin/base.html" %} {% block title %}{{ title }} | {{ site_title|default:_('Mypoll Administration') }}{% endblock %} {% block branding %}
<h1 id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a></h1>
{% endblock %} {% block nav-global %}{% endblock %}
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<title>Contact</title>
</head>
<body>
{% include 'navbar.html' %} {% block content %} replace text {% endblock %}
<br>
<a href="http://127.0.0.1:8000">Go to Home</a>
</body>
</html>
\ No newline at end of file
{% extends "base.html" %} {% block content %}
<h1>E-Mail:</h1>
<br>
<h2>josiepark@zedat.fu-berlin.de</h2>
{% endblock content %}
\ No newline at end of file
<h1>Hello, {{request.user}}
</h1>
<h2>
This is a django-test-app.
</h2>
<a href="http://127.0.0.1:8000/polls"> Go to the polls </a>
<br>
<br>
<a href="http://127.0.0.1:8000/contact"> Contact me </a>
\ No newline at end of file
<nav>
<ul>
<li>Home</li>
<li>Contact</li>
</ul>
</nav>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment