2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

Django 1.11.19 runs clean on pre-built db.

This commit is contained in:
Philip Sargent 2020-06-18 22:44:41 +01:00
parent ee1d4bb600
commit 4a51de95c4
3 changed files with 10 additions and 3 deletions

View File

@ -34,8 +34,8 @@ from settings import *
# will make this unnecessary.
# from troggle.alwaysUseRequestContext import render_response
@django.db.models.permalink #this allows the nice get_absolute_url syntax we are using
# Deprecated in 1.11.29
# @django.db.models.permalink #this allows the nice get_absolute_url syntax we are using
def getNotablePersons():
notablepersons = []

8
req1.11.19.txt Normal file
View File

@ -0,0 +1,8 @@
confusable-homoglyphs==2.0.2
Django==1.11.29
django-registration==2.3
Pillow==7.1.2
pytz==2020.1
six==1.15.0
sqlparse==0.3.1
Unidecode==1.1.1

View File

@ -22,7 +22,6 @@
{% if user.username %}
You are logged in as {{ user.username }}
{% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>)
{% else %}<a href={% url "profiles_select_profile" %}>sort your profile</a>
{% endif %}.
| <a href="{% url "auth_logout" %}">Log out</a> {% else %} <a href="{% url "registration_register" %}">Sign up</a> | <a href="{% url "auth_login" %}">Log in</a> {% endif %}
{% endblock%}