Skip to content

Commit

Permalink
Remove django-apptemplates.
Browse files Browse the repository at this point in the history
Recursive templates have been supported since Django 1.9,
though only documented in 3.1.
  • Loading branch information
dracos committed Mar 10, 2021
1 parent be85398 commit 34ee023
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion mapit_mysociety_org/mapit_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@
),
# List of callables that know how to import templates from various sources.
'loaders': (
'apptemplates.Loader',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
),
Expand Down
2 changes: 1 addition & 1 deletion mapit_mysociety_org/templates/mapit/area.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "mapit:mapit/area.html" %}
{% extends "mapit/area.html" %}
{% load i18n %}

{% block area_info_extra %}
Expand Down
2 changes: 1 addition & 1 deletion mapit_mysociety_org/templates/mapit/base.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "mapit:mapit/base.html" %}
{% extends "mapit/base.html" %}

{% load static %}

Expand Down
2 changes: 1 addition & 1 deletion mapit_mysociety_org/templates/mapit/postcode.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "mapit:mapit/postcode.html" %}
{% extends "mapit/postcode.html" %}
{% load i18n %}

{% block area_info_extra %}
Expand Down
1 change: 0 additions & 1 deletion requirements-base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ django-mailer==1.2.2
mock==1.3.0
mockredispy==2.9.0.12
redis==2.10.5
django-apptemplates==1.4
stripe==2.35.0
six

Expand Down

0 comments on commit 34ee023

Please sign in to comment.