Re: Error: No module named polls

2015-01-08 Thread Collin Anderson
Hi, Question(question_text="que hay?", pub_date=timezone()) should be: Question(question_text="que hay?", pub_date=timezone.now()) Collin On Tuesday, January 6, 2015 at 9:03:32 AM UTC-5, ibes ... wrote: > > Hi, > thanks for your answer... > here is the path of my site, that i called "primerd

Re: Error: No module named polls

2015-01-06 Thread tita
Hi, thanks for your answer... here is the path of my site, that i called "primerdjango": C:\xampp\htdocs\primerdjango\ inside of that folder i have: polls\ primerdjango\ db.sqlite3 manage.py Vista.py then inside of - polls - i have: m

Re: Error: No module named polls

2015-01-05 Thread Vijay Khemlani
Also make sure that there is an __init__.py file in the polls directory On Mon, Jan 5, 2015 at 12:47 PM, Xavier Ordoquy wrote: > Hi, > > > Le 5 janv. 2015 à 16:41, ibes ... a écrit : > > hello, > I am frustrated with django and phyton tutorial it is very difficult > i'm having a problem with th

Re: Error: No module named polls

2015-01-05 Thread Xavier Ordoquy
Hi, > Le 5 janv. 2015 à 16:41, ibes ... a écrit : > > hello, > I am frustrated with django and phyton tutorial it is very difficult > i'm having a problem with the tutorial of django and python, > > am using django 1.7.1 and python 2.7 on win xp-sp3 so far it was good, i > create everything

Re: Error: No module named polls

2015-01-05 Thread ibes ...
hello, I am frustrated with django and phyton tutorial it is very difficult i'm having a problem with the tutorial of django and python, am using django 1.7.1 and python 2.7 on win xp-sp3 so far it was good, i create everything without problem but in tutorial step where it says: https://docs.

Re: Error: No module named mysql.base when trying to sync.db

2014-05-17 Thread Arvind Aj
On Friday, April 15, 2011 2:59:32 PM UTC+5:30, paganplan paganplan wrote: > > Solved! > in settings.py file, option 'ENGINE' must be like this: > django.db.backends.mysql > > 2011/4/14, pagan >: > > same problem. apache2, mod_wsgi, python-mysqldb installed. When i add > > databases engine, name,

Re: Error: No module named books

2013-03-16 Thread Gaurav Munjal
Thank you Chris! I changed mysite.books to books and everything works fine now. On Friday, November 30, 2012 7:54:36 AM UTC+5:30, Chris Recher wrote: > > Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is > based on. After fooling around with the commands for a bit, I was a

Re: Error: No module named books

2013-01-18 Thread Sandip Sinha
Thanks Chris. Your response just saved my day! I was able to get past this issue!! - Sandip On Thursday, November 29, 2012 6:24:36 PM UTC-8, Chris Recher wrote: > Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is > based on. After fooling around with the commands for

Re: Error: No module named books

2012-11-29 Thread Chris Recher
Thanks for the help everyone. I was using 1.4.x, not the 1.0 the book is based on. After fooling around with the commands for a bit, I was able to figure out that the problem was in the INSTALLED_APPS section - I included 'mysite.books', but the new way to do that is just 'books'. -- You recei

Re: Error: No module named books

2012-11-29 Thread Timothy Makobu
Im betting you're using Django 1.4x The layout is different in 1.4. Download the version the book is using (1.1? https://www.djangoproject.com/download/ bottom right), then all should work. On Thu, Nov 29, 2012 at 4:33 PM, Tom Evans wrote: > On Thu, Nov 29, 2012 at 4:51 AM, Chris Recher > wro

Re: Error: No module named books

2012-11-29 Thread Tom Evans
On Thu, Nov 29, 2012 at 4:51 AM, Chris Recher wrote: > Hi all, > > I'm working through the Django book and I've run into an error that wasn't > predicted. I've got a project called mysite. I used "python manage.py > startapp books" to create an app called books inside of it. I added a few > models

Re: Error: No module named books

2012-11-29 Thread jianhui chen
I am learning django book too. Do you check the output of error.? Generally, there are hint like ValueError in the output. On Wednesday, November 28, 2012, Chris Recher wrote: > Hi all, > > I'm working through the Django book and I've run into an error that wasn't > predicted. I've got a project

Re: Error: No module named debug_toolbar

2012-01-04 Thread Denis Darii
Hi Alec, I'm pretty sure that there is something that doesn't consider your active environment so django try to find debug_toolbar in your global packages. To prove this, try to compare the list of your installed packages with and without virtualenv active. So do: (Pinax-env) P:\Projects\Pinax>pip

Re: Error: No module named debug_toolbar

2012-01-03 Thread Alec Taylor
Thanks Denis, but unfortunately that didn't work. On Tue, Jan 3, 2012 at 11:31 PM, Denis Darii wrote: > Try to force the installation inside your env: > > (Pinax-env) P:\Projects\Pinax>pip install --ignore-installed > django-debug_toolbar > (Pinax-env) P:\Projects\Pinax>pip install --ignore-inst

Re: Error: No module named debug_toolbar

2012-01-03 Thread Denis Darii
Try to force the installation inside your env: (Pinax-env) P:\Projects\Pinax>pip install* --ignore-installed * django-debug_toolbar On Tue, Jan 3, 2012 at 12:31 PM, Alec Taylor wrote: > Unfortunately I keep getting this error, no mater what I do. > > Here's what I've attempted: http://pastebin.

Re: Error: No module named messages.

2011-05-06 Thread Jacob Scherffenberg
Solved it. Found something called pip that installs pythons packages. thanks for your answers On May 5, 9:34 pm, Jacob Scherffenberg wrote: > Cool, but what folder should i put, the content of that download into, > found something similar. > but im not quite sure which python folder is the right

Re: Error: No module named messages.

2011-05-05 Thread Jacob Scherffenberg
Cool, but what folder should i put, the content of that download into, found something similar. but im not quite sure which python folder is the right one? whereis python - gives me like 10 paths. On 5 Maj, 20:55, David Markey wrote: > A quick google yields: > > https://github.com/robhudson/djang

Re: Error: No module named messages.

2011-05-05 Thread Jacob Scherffenberg
Okay i see now that the packages system install both python-django and python-django-debug-toolbar, when i ask for the debug-toolbar. And apparently the python-django version in the package systems is 1.1.1 which is the problem. but how do i get debug-toolbar without getting python-django(again) ?

Re: Error: No module named messages.

2011-05-05 Thread David Markey
A quick google yields: https://github.com/robhudson/django-debug-toolbar On 5 May 2011 19:51, Jacob Scherffenberg wrote: > I found the problem, but stil doesn't really know what to do. > But i was fairly sure that i used 1.3, which i did. > But when i install the debug-toolbar with sudo apt-ge

Re: Error: No module named messages.

2011-05-05 Thread Jacob Scherffenberg
I found the problem, but stil doesn't really know what to do. But i was fairly sure that i used 1.3, which i did. But when i install the debug-toolbar with sudo apt-get install pyhton- djang-debug-toolbar. My django version changes to version 1.1.1 Where can i get the toolbar otherwise, and without

Re: Error: No module named messages.

2011-05-05 Thread Karen Tracey
On Thu, May 5, 2011 at 7:43 AM, Jacob Scherffenberg wrote: > Im using Django-1.3 > > Are you absolutely sure about that? The message generally happens when you have a settings file produced by 1.2+ or higher (thus including the django.contrib.messages app in INSTALLED_APPS) but the running level o

Re: Error: No module named messages.

2011-05-05 Thread Jacob Scherffenberg
Im using Django-1.3 On May 4, 1:35 pm, Kenneth Gonsalves wrote: > On Wed, 2011-05-04 at 02:10 -0700, Jacob Scherffenberg wrote: > > Have been working on anError:Nomodulenamed debug toolbar for a > > couple hours, finally realized that i could just use the ubuntu > > package system, to get it. > >

Re: Error: No module named messages.

2011-05-04 Thread Kenneth Gonsalves
On Wed, 2011-05-04 at 02:10 -0700, Jacob Scherffenberg wrote: > Have been working on an Error: No module named debug toolbar for a > couple hours, finally realized that i could just use the ubuntu > package system, to get it. > Thought that was all, but now i get Error: No module named messages.?

Re: Error: No module named messages.

2011-05-04 Thread David Markey
You're probably using a version of django that is too old.. the messages framework was introduced in 1.2 i think? On 4 May 2011 10:10, Jacob Scherffenberg wrote: > Have been working on an Error: No module named debug toolbar for a > couple hours, finally realized that i could just use the ubuntu

Re: Error: No module named mysql.base when trying to sync.db

2011-04-15 Thread paganplan paganplan
Solved! in settings.py file, option 'ENGINE' must be like this: django.db.backends.mysql 2011/4/14, pagan : > same problem. apache2, mod_wsgi, python-mysqldb installed. When i add > databases engine, name, user, password in settings.py, i got a > message: > > ImportError at /wsgi > No module named

Re: Error: No module named mysql.base when trying to sync.db

2011-04-14 Thread pagan
same problem. apache2, mod_wsgi, python-mysqldb installed. When i add databases engine, name, user, password in settings.py, i got a message: ImportError at /wsgi No module named mysql.baseRequest Method: GET Request URL:http://x/wsgi Django Version: 1.3 Exception Type: ImportError E

Re: Error: No module named mysql.base when trying to sync.db

2011-04-12 Thread dsx
same here. On Apr 1, 12:48 am, nai wrote: > I posted the same question on stackoverflow > here:http://stackoverflow.com/questions/5509755/problem-with-django-syncdb... > > Reproduced > > Hi all, I'm trying to deploy my project on my EC2 instance. When I run > python manage.py validate I get this

Re: Error: No module named admindjango.contrib.auth

2010-11-10 Thread Łukasz Rekucki
On 10 November 2010 18:39, Harry wrote: > Trying to follow Part 2 of the Django documentation > python manage.py syncdb throws this when configuring admin > 'Error: No module named admindjango.contrib.auth' > More errors if I try to include admin docs. > > 1) Need to know where I can see whic

Re: error: no module named...

2010-08-25 Thread Wendy
AHA! I've been bitten by that one before. I was fooled by the dash in the way it's named elsewhere. Thanks so much Piotr, looks like that was the problem, and I learned something about the naming of modules. Seems to be behaving now, Wendy On Aug 25, 11:18 am, Piotr Kilczuk wrote: > > Installed

Re: error: no module named...

2010-08-25 Thread Piotr Kilczuk
> Installed /Library/Python/2.6/site-packages/django_sorting-0.1- > py2.6.egg > Processing dependencies for django-sorting > (just specifying 'django-sorting', in installed apps in settings file) Are you sure it should be 'django-sorting' not 'django_sorting' (with underscore)? - is a minus in py

Re: Error: No module named tp.urls | Exception Type: ImportError

2010-08-22 Thread AJ
ROOT_URLCONF = 'tp.urls' Just saw this in my settings.py --AJ On Aug 22, 8:33 pm, Aman wrote: > I recently installed Django on my personal Ubuntu Dev Server and have > been trying with mod_wsgi (as mod_python is officially dead). I just > had some breakthrough where I could see a little pro

Re: Error: No module named tp.urls | Exception Type: ImportError

2010-08-22 Thread AJ
ROOT_URLCONF: 'tp.urls' I just saw that line in my settings.py --AJ ` On Aug 22, 8:33 pm, Aman wrote: > I recently installed Django on my personal Ubuntu Dev Server and have > been trying with mod_wsgi (as mod_python is officially dead). I just > had some breakthrough where I could see a little

Re: Error: No module named pollsdjango.contrib.admin

2009-12-14 Thread puraV
Thanks Karen I was having this issue as well no need to ask! you rock! On Nov 8, 6:01 pm, Karen Tracey wrote: > On Sun, Nov 8, 2009 at 11:58 AM, Zeynel wrote: > > > Hi again, > > > Thanks for the help so far. > > > I am now working on the part 2 of the tutorial. > > > I updated the INSTALLE

Re: Error: No module named polls

2009-11-30 Thread Rafael Vieira
Please Baba send-me your project. I want see your error 2009/11/30 Baba Samu > 2.6 > > On Nov 30, 8:54 pm, Rafael Vieira wrote: > > what python's version you are using? > > > > 2009/11/30 Baba Samu > > > > > > > > > thanks, but i have tried changing the database_name to DATABASE_ENGINE > > > =

Re: Error: No module named polls

2009-11-30 Thread Baba Samu
2.6 On Nov 30, 8:54 pm, Rafael Vieira wrote: > what python's version you are using? > > 2009/11/30 Baba Samu > > > > > thanks, but i have tried changing the database_name to DATABASE_ENGINE > > = 'sqlite3'  and database name to DATABASE_NAME = 'poll.db' > > > and i still get the same message

Re: Error: No module named polls

2009-11-30 Thread Rafael Vieira
what python's version you are using? 2009/11/30 Baba Samu > thanks, but i have tried changing the database_name to DATABASE_ENGINE > = 'sqlite3' and database name to DATABASE_NAME = 'poll.db' > > and i still get the same message. > > maybe i should delete n start again since im just followi

Re: Error: No module named polls

2009-11-30 Thread Baba Samu
thanks, but i have tried changing the database_name to DATABASE_ENGINE = 'sqlite3' and database name to DATABASE_NAME = 'poll.db' and i still get the same message. maybe i should delete n start again since im just following the tutorial and i have this inconsistencies at the very beggining..

Re: Error: No module named polls

2009-11-30 Thread DGSpotman
I had a similar problem yesterday (I'm also new), and again, it was because of capitalization. For some reason my settings.py file got renamed to SETTINGS.py. Don't know how that happened, but when I reset the filename to all lower case, things worked. Hope this helps, Michael On Nov 30, 10:21 a

Re: Error: No module named polls

2009-11-30 Thread Rafael Vieira
Hi, do you have change file settings.py section DATABASE_ENGINE = 'sqlite3', I recommend sqlite3 if you are new in django; and in Section DATABASE_NAME use your name database .db for example DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = 'mybanco.db' Sorry about my text but i am brazilian and my e

Re: Error: No module named polls

2009-11-30 Thread Baba Samu
first of all thank very much. the problem was i named the folder 'POLLS', in stead of 'polls' it seems to be case sensitive anyway, i changed it and now i get Error: Django doesn't know which syntax to use for your SQL statements, because you haven't specified the DATABASE_ENGINE setting. Ed

Re: Error: No module named polls

2009-11-30 Thread Radhikavk
Vardhan Varma-2 wrote: > > did you named your project as 'mysite' and your app as 'polls' ... > also make sure __init__.py exists inside directory polls (manage.py should > create that ). > > hope that helps, > > --Vardhan > > > > > Have you given your projevt name as mysite and applicat

Re: Error: No module named polls

2009-11-29 Thread Vardhan Varma
did you named your project as 'mysite' and your app as 'polls' ... also make sure __init__.py exists inside directory polls (manage.py should create that ). hope that helps, --Vardhan On Sun, Nov 29, 2009 at 7:12 PM, Baba Samu wrote: > Hi, > > Following the tutorial when i have "python mana

Re: Error: No module named pollsdjango.contrib.admin

2009-11-08 Thread Zeynel
Thank you!! On Nov 8, 12:01 pm, Karen Tracey wrote: > On Sun, Nov 8, 2009 at 11:58 AM, Zeynel wrote: > > > Hi again, > > > Thanks for the help so far. > > > I am now working on the part 2 of the tutorial. > > > I updated the INSTALLED_APPS with 'django.contrib.admin': > > > INSTALLED_APPS = ( >

Re: Error: No module named pollsdjango.contrib.admin

2009-11-08 Thread Karen Tracey
On Sun, Nov 8, 2009 at 11:58 AM, Zeynel wrote: > > Hi again, > > Thanks for the help so far. > > I am now working on the part 2 of the tutorial. > > I updated the INSTALLED_APPS with 'django.contrib.admin': > > INSTALLED_APPS = ( >'django.contrib.auth', >'django.contrib.contenttypes', >

Re: Error: no module named manager

2009-04-15 Thread Daniel Sisco
This problem was caused by the fact that my __init__.py file contained two lines of "from django include ..." code. I must have copied these from somewhere instead of creating them fresh. Removing these lines fixes the problem. > I don't understand this error, but I can tell you that you need a >

Re: Error: no module named manager

2009-04-15 Thread Daniel Roseman
On Apr 15, 2:14 am, Daniel Sisco wrote: > All: > > I'm adding an app (from django snippits) that is just a template tag > for a calendar application in my blog. This is the new directory > structure: > > /apps/postcal >               | >               --> __init__.py >               | >  

Re: Error: No module named X (django standalone script)

2008-09-18 Thread Mathieu Leplatre
On Sep 17, 10:41 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > On Sep 17, 2008, at 11:45 PM, Mathieu Leplatre wrote: > > > > > > > Hi all, > > > I am starting a new thread, the first one became off-topic (http:// > > groups.google.com/group/django-users/browse_thread/thread/ > > 34b501d2d1f8849

Re: Error: No module named X (django standalone script)

2008-09-17 Thread Eric Abrahamsen
On Sep 17, 2008, at 11:45 PM, Mathieu Leplatre wrote: > > Hi all, > > I am starting a new thread, the first one became off-topic (http:// > groups.google.com/group/django-users/browse_thread/thread/ > 34b501d2d1f88496/f8a5d5ef5aeab62a) > > I want to do a simple external script that just relies o