Dear Marcin, I do not understand. I think I have done everything right and I am trying to find the source of the error where if there is someone who has experienced it they might be knowing where it is coming from..
Emily On Fri, Jun 22, 2012 at 3:27 PM, Marcin Tustin <marcin.tus...@gmail.com>wrote: > Please take a look at: Short, Self Contained, Correct > Example<http://sscce.org/> > > There's also some good advice at: What have you tried? - Matt > Gemmell<http://whathaveyoutried.com/> > > > On Fri, Jun 22, 2012 at 8:10 AM, Emily N <enemi...@gmail.com> wrote: > >> Hi django users, >> I seem to have gotten a problem. >> >> I created a helper class in my project and I have failed to import >> the methods in it. Please help... >> >> This is the error I get... >> >> ImportError at /admin/ >> >> cannot import name random_password >> >> Request Method: GET Request URL: http://127.0.0.1:8000/admin/ Django >> Version: 1.3.1 Exception Type: ImportError Exception Value: >> >> cannot import name random_password >> >> Exception Location: >> /home/emily/Documents/AskJarvis/Etutor/../Etutor/Prototype/views.py >> in <module>, line 1 Python Executable: /usr/bin/python Python Version: >> 2.7.2 Python Path: >> >> ['/home/emily/Documents/AskJarvis/Etutor', >> '/usr/lib/python2.7', >> '/usr/lib/python2.7/plat-linux2', >> '/usr/lib/python2.7/lib-tk', >> '/usr/lib/python2.7/lib-old', >> '/usr/lib/python2.7/lib-dynload', >> '/usr/local/lib/python2.7/dist-packages', >> '/usr/lib/python2.7/dist-packages', >> '/usr/lib/python2.7/dist-packages/PIL', >> '/usr/lib/python2.7/dist-packages/gst-0.10', >> '/usr/lib/python2.7/dist-packages/gtk-2.0', >> '/usr/lib/pymodules/python2.7', >> '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', >> '/usr/lib/python2.7/dist-packages/ubuntuone-client', >> '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', >> '/usr/lib/python2.7/dist-packages/ubuntuone-couch', >> '/usr/lib/python2.7/dist-packages/ubuntuone-installer', >> '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol'] >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/django-users/-/C1nnWqPBZkwJ. >> To post to this group, send email to django-users@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> > > > > -- > Marcin Tustin > Tel: 07773 787 105 > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.