Code Monkey home page Code Monkey logo

effective-django-tutorial's People

Contributors

0x013a avatar angusb avatar nyergler avatar pauliuszaleckas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

effective-django-tutorial's Issues

Import Error no module named forms

I got this error while loading admin page at 127.0.0.1:8000/admin
`
ImportError at /admin/
No module named 'forms'
Request Method: GET
Request URL: http://127.0.0.1:8000/admin/
Django Version: 1.5.1
Exception Type: ImportError
Exception Value:
No module named 'forms'
Exception Location: /home/arpit/Desktop/helloworld/effective-django-tutorial/contacts/views.py in , line 14
Python Executable: /usr/bin/python3
Python Version: 3.4.3
Python Path:
['/home/arpit/Desktop/helloworld/effective-django-tutorial',
'/usr/lib/python3.4',
'/usr/lib/python3.4/plat-x86_64-linux-gnu',
'/usr/lib/python3.4/lib-dynload',
'/home/arpit/.local/lib/python3.4/site-packages',
'/usr/local/lib/python3.4/dist-packages',
'/home/arpit/src/facebook-sdk',
'/usr/local/lib/python3.4/dist-packages/git_remote_dropbox-0.2.2-py3.4.egg',
'/usr/local/lib/python3.4/dist-packages/PyGithub-1.28-py3.4.egg',
'/usr/local/lib/python3.4/dist-packages/pyarp-0.1.1-py3.4.egg',
'/usr/local/lib/python3.4/dist-packages/netifaces-0.10.5-py3.4-linux-x86_64.egg',
'/usr/local/lib/python3.4/dist-packages/django_annoying-0.10.3-py3.4.egg',
'/usr/lib/python3/dist-packages']
Server time: Tue, 25 Oct 2016 14:43:16 -0500

forms.py is in same directory with views.py but still i am getting this error

`

ValueError: invalid literal for int() with base 10: 'Confirm email'

Hey,

Great tutorial. I ran into a problem in the 'Form Basics' section. There's an issue with the confirm_email = forms.EmailField("Confirm email",required=True,) statement in the forms.py.

To double check the code, I simply cloned the repo from Github, installed the db, and ran the Django server. Same error. Here's the error message from Django's debug page:

ValueError at /
invalid literal for int() with base 10: 'Confirm email'
Request Method: GET
Request URL: http://localhost:8000/
Django Version: 1.6.1
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: 'Confirm email'
Exception Location: /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/forms/fields.py in init, line 202
Python Executable: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Python Version: 2.7.6
Python Path:
['/Users/josephreis/Documents/Projects/django/effective-django-tutorial',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-1.3.1-py2.7.egg',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg',
'/Library/Python/2.7/site-packages/pydelicious-0.6-py2.7.egg',
'/Library/Python/2.7/site-packages/feedparser-5.1.3-py2.7.egg',
'/Library/Python/2.7/site-packages/pytz-2013b-py2.7.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
'/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages',
'/Library/Python/2.7/site-packages']
Server time: Fri, 27 Dec 2013 22:59:48 -0600

Thanks,

Joe

Does not work with django 1.9.2

*feature request *
port this project to django 1.9.x
It is a good tutorial for learning django. Try if you can update for django 1.9.x or later versions. It will be very good for the followers of the tutorial.
If anyone is interested in porting this then i can help in that
Thank you ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.