30160

Django simple Captcha “No module named fields” error

Hi I am trying to implement Django simple capcha into my app but when i try to import from view.py "from captcha.fields import CaptchaField" i get an error "No module named fields". but i am able to import this in the django shell terminal. What else am i missing

Answer1:

Did you add captcha to the INSTALLED_APPS in your settings.py?

If so, did you install it, where did you install it, and is it on your Python path?

Answer2:

I encountered same problem before and I installed django-simple-captcha. It worked finally

Recommend

  • Reddit integration to android app
  • Python - Urllib2 Wait for page to load to scrape data
  • Javascript Injection prevention on Wordpress
  • image captcha in php
  • Django how to modify database records by template
  • Leaflet z-index
  • Client side validation mvc dropdown
  • Why is django manage.py syncdb failing to create new columns on my development server?
  • py4j.protocol.Py4JJavaError when selecting nested column in dataframe using select statetment
  • Java making confirming exit
  • Django return user model id with L
  • Python 3.2.2, error(scripts to exe)
  • Implement JwtBearer Authentication in NSwag SwaggerUi
  • Angular2 - Template reference inside NgSwitch
  • What does “t” refer to in this SQL?
  • abstracting over a collection
  • How to explicitly/implicitly implemented interface members in C++/CLI?
  • CERN ROOT exporting data to plain text
  • How to programatically 'login' a user based on 'remember me' cookie when using j
  • android google indoor map
  • pillow imaging ImportError
  • Unable to install Git-core+svn by MacPorts
  • Insert new calendar with SyncAdapter- Calendar API Android
  • Is there a perl module to validate passwords stored in “{crypt}hashedpassword” “{ssha}hashedpassword
  • How to know when stdin is empty if it contains EOF?
  • Could not find rake using whenever rails
  • Why does access(2) check for real and not effective UID?
  • Meteor helpers not available in Angular template
  • How can I send an e-mail from a vbs script
  • Sails.js/waterline: Executing waterline queries in toJSON function of a model?
  • C# - Serializing and deserializing static member
  • Bug in WPF DataGrid
  • Can Jackson SerializationFeature be overridden per field or class?
  • Incrementing object id automatically JS constructor (static method and variable)
  • using HTMLImports.whenReady not working in chrome
  • how does django model after text[] in postgresql [duplicate]
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • Linking SubReports Without LinkChild/LinkMaster
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass