瀏覽代碼

fix remove funct for a removed route

master
tr4ck3ur des JM2L 9 年之前
父節點
當前提交
c2a5235178
共有 1 個檔案被更改,包括 0 行新增4 行删除
  1. +0
    -4
      jm2l/upload.py

+ 0
- 4
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)')


Loading…
取消
儲存