aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-16 01:35:37 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-16 01:35:37 +0100
commitc2a5235178e1ed580e1f68c9d32a5f8565f22391 (patch)
treeb289c79fd302093ef88a28476ac171b7cd2ced70
parent0f10e6e784b175ef22b7f9c2beee5ae4c019d63b (diff)
downloadjm2l-c2a5235178e1ed580e1f68c9d32a5f8565f22391.tar.gz
jm2l-c2a5235178e1ed580e1f68c9d32a5f8565f22391.tar.bz2
jm2l-c2a5235178e1ed580e1f68c9d32a5f8565f22391.tar.xz
jm2l-c2a5235178e1ed580e1f68c9d32a5f8565f22391.zip
fix remove funct for a removed route
-rw-r--r--jm2l/upload.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/jm2l/upload.py b/jm2l/upload.py
index f0fe718..0feeb3b 100644
--- a/jm2l/upload.py
+++ b/jm2l/upload.py
@@ -13,10 +13,6 @@ import cStringIO as StringIO
# Database access imports
from .models import User, Place, Tiers, Event
-@view_config(route_name='media_uploadform',request_method='GET', renderer='jm2l:templates/upload.mako')
-def imageupload(request):
- return {'actionurl':request.route_url('imageupload',sep='',name='')}
-
MIN_FILE_SIZE = 1 # bytes
MAX_FILE_SIZE = 500000000 # bytes
IMAGE_TYPES = re.compile('image/(gif|p?jpeg|(x-)?png)')