Mercurial > public > sg101
comparison membermap/views.py @ 1017:21c592cac71c
ManifestStaticFilesStorage: stop using form Media.
It's okay for the admin, but not for user facing stuff.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Dec 2015 14:48:30 -0600 |
parents | 0ca691cccf8d |
children | 6164cc091649 |
comparison
equal
deleted
inserted
replaced
1016:fd70e9d547ed | 1017:21c592cac71c |
---|---|
13 from django.views.decorators.http import require_POST | 13 from django.views.decorators.http import require_POST |
14 from django.core.cache import cache | 14 from django.core.cache import cache |
15 | 15 |
16 from membermap.models import MapEntry | 16 from membermap.models import MapEntry |
17 from membermap.forms import MapEntryForm | 17 from membermap.forms import MapEntryForm |
18 from bio.models import UserProfile | |
19 | 18 |
20 CACHE_KEY = 'membermap_json' | 19 CACHE_KEY = 'membermap_json' |
21 CACHE_TIMEOUT = 5 * 60 | 20 CACHE_TIMEOUT = 5 * 60 |
22 | 21 |
23 | 22 |