Django based forum engine

  • You are not logged in.

#1 July 31, 2012 18:13:18

From: germany
Registered: 2012-07-12
Posts: 160
Reputation: +  1  -
Profile   Send e-mail  

registration from bots...

In my PyLucid glue Plugin i have add a simple mechanism against script kiddies.

I display the html form and parts of it only if JavaScript is enabled. e.g.:

            <script type="text/javascript">
document.write('<fo'+'rm act'+'ion="." met'+'hod="po'+'st">');

full html here:

Some of my Projects:
* Migrate phpBB to DjangoBB with django-phpBB3
* DjangoBB github repro and information about my changes
* PyLucid CMS written in Django:


#2 Aug. 1, 2012 09:37:36

DjangoBB Developer
From: Ukraine
Registered: 2009-10-25
Posts: 382
Reputation: +  5  -
Profile   Send e-mail  

registration from bots...

i used recaptcha + checking email and don't send emails to some free one time hostings like (locked in exim4 server)
from registration.forms import RegistrationFormUniqueEmail
from captcha.fields import ReCaptchaField
class RegistrationFormCaptcha(RegistrationFormUniqueEmail):
    captcha = ReCaptchaField()
urlpatterns = patterns('',
    # Apps
    url(r'^registration/register/$', 'registration.views.register', 
        {'form_class': RegistrationFormCaptcha, 
         'backend': 'registration.backends.default.DefaultBackend'}, 


Board footer

Moderator control

Powered by DjangoBB

Lo-Fi Version