Changeset 3128 in products for quintagroup.captcha.core/trunk/quintagroup/captcha/core/setuphandlers.py
- Timestamp:
- Apr 18, 2011 11:16:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.captcha.core/trunk/quintagroup/captcha/core/setuphandlers.py
r1953 r3128 6 6 ALL_LAYERS, PROPERTY_SHEET 7 7 8 8 9 def generateKey(length): 9 10 key = '' … … 11 12 key += str(randint(0, 9)) 12 13 return key 14 13 15 14 16 def setupVarious(context): … … 24 26 else: 25 27 site._setProperty(CAPTCHA_KEY, value, 'string') 28 26 29 27 30 def uninstall(context):
Note: See TracChangeset
for help on using the changeset viewer.