Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1>My fake blog!</h1>
- <p>{{ message }}</p>
- {% if user.is_authenticated %}
- Logged as {{ user.username }} <a href="{% url 'logout' %}">Logout</a>
- {% else %}
- <a href="{% url 'social:begin' 'google-oauth2' %}">Login</a>
- {% endif %}
Add Comment
Please, Sign In to add comment