1
0
Fork 0

Fix suggestions template

merge-requests/172/head
Nikos Roussos 2017-05-08 18:22:40 +03:00
parent 05d2defafe
commit 4290a033a6
No known key found for this signature in database
GPG Key ID: BADFF1767BA7C8E1
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ def suggestion(request):
admins = User.objects.filter(is_superuser=True) admins = User.objects.filter(is_superuser=True)
site = get_current_site(request) site = get_current_site(request)
subject = '[{0}] A new suggestion was submitted'.format(site.name) subject = '[{0}] A new suggestion was submitted'.format(site.name)
template = 'emails/exported_frames.txt' template = 'emails/new_suggestion.txt'
saturl = '{0}{1}'.format( saturl = '{0}{1}'.format(
site.domain, site.domain,
reverse('satellite', kwargs={'norad': suggestion.satellite.norad_cat_id}) reverse('satellite', kwargs={'norad': suggestion.satellite.norad_cat_id})

View File

@ -1,4 +1,4 @@
[pytest] [pytest]
addopts = -v --cov --cov-report term-missing addopts = -v --cov --cov-report term-missing
python_files = tests.py python_files = tests.py
DJANGO_SETTINGS_MODULE=db.settings.dev DJANGO_SETTINGS_MODULE=db.settings