292
     return render(request, 'photo/photo_detail.html', {'photo_url': photo.l_photo_url})
293 293
 
294 294
 
295
-def photo_raw(request, photo):
296
-    photo = PhotosInfo.objects.get(photo_id=photo)
295
+def photo_raw(request, photo_id):
296
+    photo = PhotosInfo.objects.get(photo_id=photo_id)
297 297
     return render(request, 'photo/photo_detail.html', {'photo_url': photo.r_photo_url})
298 298
 
299 299
 

pai2 - Gogs: Go Git Service

拍爱

Brightcells: 27d3ec8fb1 add src for LatestAppInfo/SplashInfo 9 anni fa
..
0001_initial.py 30daca135b add api message_list_api/message_type_list_api/message_read_api 10 anni fa
0002_auto_20160120_1830.py a121b75ff2 add db_index=True for status field 10 anni fa
0003_systemmessageinfo_systemmessagereadinfo.py 165424743a modify message relative apis 10 anni fa
0004_systemmessagedeleteinfo.py 165424743a modify message relative apis 10 anni fa
0005_auto_20160422_1322.py 102152ca4a add api lensman_photo_bought & modify api wx_order_create_api and adjust return field 10 anni fa
0006_systemmessageinfo_src.py ee7388cd15 add src for SystemMessageInfo 9 anni fa
0007_auto_20160907_1740.py 27d3ec8fb1 add src for LatestAppInfo/SplashInfo 9 anni fa
__init__.py 30daca135b add api message_list_api/message_type_list_api/message_read_api 10 anni fa