Dynastie

Dynastie Commit Details

Date:2016-06-13 07:37:53 (4 years 1 month ago)
Author:Grégory Soutadé
Branch:master
Commit:e029a1fc35662c114625364f9f748fce2323f0a0
Parents: 05c92a1738349638a9b1691e5d4a8fe36239fb46
Message:Also checks for 'email' field to be present

Changes:
Mdynastie/views.py (1 diff)

File differences

dynastie/views.py
808808
809809
810810
811
811
812812
813813
814814
ref = request.META['HTTP_REFERER']
# Anti robot !!
if request.POST['email'] != '':
if not 'email' in request.POST or request.POST['email'] != '':
if 'HTTP_X_REAL_IP' in request.META:
print 'Dynastie : fucking robot %s' % (request.META['HTTP_X_REAL_IP'])
else:

Archive Download the corresponding diff file

Branches

Tags