Re: No module named 'blog'

2020-05-10 Thread Mukesh Badgujar
thanks problem solved On Sun, 10 May, 2020, 9:16 am sahil khan, wrote: > I think blog app is not there where manage.py file. please check and if > your blog app's location is wrong delete blog app and create again app > inside your project with correct location. > > New app command: > >

Re: No module named 'blog'

2020-05-09 Thread sahil khan
I think blog app is not there where manage.py file. please check and if your blog app's location is wrong delete blog app and create again app inside your project with correct location. New app command: Django-admin startapp On Sat, 9 May 2020, 7:26 pm sri vishva, wrote: > Try creating a new

Re: No module named 'blog'

2020-05-09 Thread sri vishva
Try creating a new app Blog using >>pip install django-admin startapp Blog And now replace the existing files with your contents On Fri, 8 May 2020, 4:22 pm Mukesh Badgujar, wrote: > First... I... created Project at my machine... then... uploaded to > github then from git i import i

Re: No module named 'blog'

2020-05-08 Thread Mukesh Badgujar
First... I... created Project at my machine... then... uploaded to github then from git i import it to my namecheap shared hosting server, i created python app in that folder, then i run migrations cmds... but apps are not detected by django On Thu, 7 May, 2020, 6:09 pm Mohsen Pahleva

Re: No module named 'blog'

2020-05-07 Thread Mohsen Pahlevanzadeh
Where did you import your module? On Thu, May 7, 2020 at 3:09 PM Mukesh Badgujar wrote: > already added > > 'home.apps.HomeConfig', > 'blog.apps.BlogConfig', > 'shop.apps.shopConfig', > > one thing is that, i copied this app folder frm my other project, this is > not created here > >

Re: No module named 'blog'

2020-05-07 Thread Mukesh Badgujar
already added 'home.apps.HomeConfig', 'blog.apps.BlogConfig', 'shop.apps.shopConfig', one thing is that, i copied this app folder frm my other project, this is not created here On Sunday, 9 August 2015 22:43:38 UTC+5:30, Robin Lery wrote: > > Did you add your 'blog' app in the inst

Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread ANi
Thank you and after facing so much mysterious(at least to me) errors, I failed to install it through pip(I have no idea why) so I tried to get it from compiling the source code, and it failed as well. I started over and install python through the repository rather than source code, and I compile t

Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, Jan 15, 2019 at 08:04:23PM -0800, ANi wrote: > Hey guys. Maybe consider asking not just the guys next time. ;) > I am trying to deploy my Django project on CentOS 7 with Apache. > and I got an error of *ImportError: No module named django.

Re: No module named "newsimage" app

2018-09-25 Thread Melissa Malala
Thank you all very much, I made the migration and the app works fine. On Tuesday, 25 September 2018 14:06:11 UTC+3, Melissa Malala wrote: > > My project is giving me an error called "No Module named "newsimage" app > (2 Screenshots attached) whenever I run the server using: > python3.6 manage.p

Re: No module named "newsimage" app

2018-09-25 Thread Okware Aldo
Hi Mellisa, are you using the module/app 'newsimage' in some part of your application? first make changes to install apps section as Vinod Kumar suggested, then make sure whenever you make reference to the app its imported. On Tue, Sep 25, 2018 at 2:19 PM 'Vinod Kumar' via Django users < django

Re: No module named "newsimage" app

2018-09-25 Thread 'Vinod Kumar' via Django users
add app name after default dajngo.contrib . In your case INSTALLED_APPS will look like INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', #

Re: No module named "newsimage" app

2018-09-25 Thread Tatenda Marshall
Did you run any migrations "The world is just for a moment so make it a moment of obedience" On Tue, Sep 25, 2018 at 1:05 PM Melissa Malala wrote: > My project is giving me an error called "No Module named "newsimage" app > (2 Screenshots attached) whenever I run the server using: > python3.6

Re: No module named django help please

2018-03-27 Thread Utpal Brahma
try : pip install django (if pip is installed) try : pip3 install django (if pip3 is installed) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsu

Re: No module named django help please

2018-03-27 Thread Marsel Tzatzo
Try pip install django Marsel Tzatzo, Mobile Software Engineer I welcome VSRE emails. Learn more at http://vsre.info/ > On 27 Mar 2018, at 12:48, MFM ™ wrote: > > No module named django someone help me > > -- > You received this mess

Re: No module named list_detail

2017-11-23 Thread Andréas Kühne
Hi, You have got this because the code you are using is for an older version of django. The object_list functionality has been moved to ListView in the generics package. See here: https://docs.djangoproject.com/en/1.11/ref/class-based-views/generic-display/#listview The object_list functionality

Re: No module named utils

2017-03-20 Thread Tim Graham
My guess it that the version of django-compressor you're using doesn't support Django 1.5 -- that's a rather old, insecure version. You'll either have to update to a supported version of Django (see https://www.djangoproject.com/download/#supported-versions) or use an old version of django-comp

Re: No module named client

2017-02-13 Thread ludovic coues
I would do that to get more debugging information : try: from salt import client except : import salt raise RuntimeError("[%s]" % ", ".join(dir(salt))) If it work like I hope it does, it will print all the module from salt and a bit more information. Or you can do

Re: No module named NullHandler!!

2017-01-30 Thread Larry Martell
On Mon, Jan 30, 2017 at 2:31 PM, Adriana Lucía Céspedes wrote: > I really hope you could help me with this error: > > > Unable to configure handler 'null': Cannot resolve > 'django.utils.log.NullHandler': No module named NullHandler > > I am using Django 1.10 on Ubuntu 14.04 with python 2.7 > > >

Re: No module named MySQLdb

2016-09-20 Thread Tim Graham
I'm not sure if PyMySQL is compatible, but it's not tested by the Django team. I'd use mysqlclient as documented: https://docs.djangoproject.com/en/stable/ref/databases/#mysql-db-api-drivers On Tuesday, September 20, 2016 at 11:18:08 AM UTC-4, Alessandro Madruga wrote: > > pip install MySQL-pyt

Re: No module named MySQLdb

2016-09-20 Thread Alessandro Madruga Correia
pip install MySQL-python On Tue, Sep 20, 2016 at 12:12 PM, Carlos Andre wrote: > 1º install setuptools; > 2º install PyMySQL; > > > 1º --> https://pypi.python.org/pypi/setuptools > 2º --> https://github.com/PyMySQL/PyMySQL > > > 2016-09-20 11:01 GMT-03:00 fossildoc : > >> I am a newbie to Django

Re: No module named MySQLdb

2016-09-20 Thread Carlos Andre
1º install setuptools; 2º install PyMySQL; 1º --> https://pypi.python.org/pypi/setuptools 2º --> https://github.com/PyMySQL/PyMySQL 2016-09-20 11:01 GMT-03:00 fossildoc : > I am a newbie to Django. I am running Django 1.10.1, Python 3.5.2, and > MySQL server 5.7.15. When I run migrate, I get t

Re: no module named ...

2016-02-21 Thread James Schneider
> ImportError: No module named ' tma' > You will note > File "C:\Users\bgailer\mysite\mysite\urls.py", line 22, in > url(r'^ tma/', include(' tma.urls')), > in the traceback. > > How do I fix this? You have a leading space in the string for your include() call: ' tma.urls' vs. 'tma.urls' -Ja

Re: No module named _mysql

2015-09-16 Thread Sandeep kaur
On Thu, Sep 17, 2015 at 3:19 AM, Cliff Peng wrote: > > http://stackoverflow.com/questions/26560973/python3-mysql-error-loading-mysqldb-module-no-module-named-mysqldb > > Can this help you? I have already implemented this solution, but still the error.log goes like this : [Thu Sep 17 05:27:38 201

Re: No module named _mysql

2015-09-16 Thread Cliff Peng
http://stackoverflow.com/questions/26560973/python3-mysql-error-loading-mysqldb-module-no-module-named-mysqldb Can this help you? 2015-09-16 20:04 GMT+08:00 Sandeep kaur : > Greetings, > I am using Python3.4 for the Django app on CentOs. The application is > working perfectly fine with runserver

Re: No module named http_client

2015-09-02 Thread sum abiut
Do you mind explain, what where you trying to do when you encounter this error?? On Thu, Sep 3, 2015 at 2:43 PM, Pawanesh Gautam wrote: > Hiii, > > i am getting following issue on my django project : > > ImportError at /admin > > No module named http_client > > > please suggest some solution ..

Re: No module named 'blog'

2015-08-09 Thread Robin Lery
Did you add your 'blog' app in the installed apps in settings.py? On Sun, Aug 9, 2015 at 10:35 PM, Maggie Chang wrote: > hi all, > would like to seek for everyone's help. > I am following the django girls instruction => > http://tutorial.djangogirls.org/en/django_urls/index.html#your-first-djang

Re: No module named wsgi

2013-05-29 Thread Lunga Baliwe
Thanks for your replying, am only seeing your reply now. On Thu, May 23, 2013 at 7:49 PM, Sandeep kaur wrote: > On Thu, May 23, 2013 at 8:29 PM, Luggaz wrote: > > I don't know what I dd but it seems to work now! > > > mod wsgi installation could have also solved he purpose, using this > comman

Re: No module named wsgi

2013-05-23 Thread Sandeep kaur
On Thu, May 23, 2013 at 8:29 PM, Luggaz wrote: > I don't know what I dd but it seems to work now! > mod wsgi installation could have also solved he purpose, using this command : $sudo apt-get install apache2 libapache2-mod-wsgi -- Sandeep Kaur E-Mail: mkaurkha...@gmail.com Blog: sandymadaan.wor

Re: No module named wsgi

2013-05-23 Thread Luggaz
I don't know what I dd but it seems to work now! On Thursday, May 23, 2013 11:41:04 AM UTC+2, Luggaz wrote: > > Good day, > > I am having a problem making my website live. > It works fine on the development server and I do get(http:127.0.0.1:8000) > running but when I make it live I get an error

Re: No Module Named Module Name

2013-04-04 Thread Sreenivas Reddy T
include polls application in installed_applications in settings.py file and do this import from polls.models import Poll in shell , let me know if that works. HTH. Best Regards, Srinivas Reddy Thatiparthy 9703888668. "Anyone who has never made a mistake has never tried anything new !!! " --Albe

Re: No module named models again

2013-02-07 Thread Kelly Nicholes
Yeah, for things like forms.py and views.py, it's best to use relative imports for the models.py within the same app. from .models import Object1 On Wednesday, February 6, 2013 7:22:19 PM UTC-7, frocco wrote: > > I found the answer. > in my app directory called checkout, I also have a checkout.

Re: No module named models again

2013-02-06 Thread frocco
I found the answer. in my app directory called checkout, I also have a checkout.py file. from checkout.models import Order in views.py had to be changed to from models import Order On Wednesday, February 6, 2013 3:02:57 PM UTC-5, Brad Pitcher wrote: > > On Wed, 2013-02-06 at 11:49 -0800, frocco w

Re: No module named models again

2013-02-06 Thread Brad
On Wed, 2013-02-06 at 11:49 -0800, frocco wrote: > Line 22 does not make any sense to me as to why it is failing. > If I remove receipt, it runs fine It can be surprising sometimes what code can cause other code to get imported and run. My guess is, in trying to find your url route there, Django l

Re: No module named models again

2013-02-06 Thread frocco
Line 22 does not make any sense to me as to why it is failing. If I remove receipt, it runs fine On Wednesday, February 6, 2013 1:31:59 PM UTC-5, frocco wrote: > > Hello, > > What is the best way to track down these types of errors? > > in ntw.urls I have: (r'^checkout/', include('checkout.urls'))

Re: No module named models again

2013-02-06 Thread Brad
On Wed, 2013-02-06 at 10:31 -0800, frocco wrote: > Exception Location:C:\ndsutil\Menus\CTD-NDSUser\PycharmProjects\ntw > \checkout\views.py in , line 5 Django gives you the line in the file where the error occurs so you don't need to track it down ;-) It's probably failing when you try to import s

Re: no module named books found

2012-06-17 Thread Sabbineni Navneet
i have created a database named xam. But it still shows the same error:django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: no module named books found

2012-06-17 Thread Ernesto Guevara
"Do we have to create a database with that name before." Yes, you need create the database "xam" (from mysql query browser) before running syncb. 2012/6/17 Sabbineni Navneet > I have Mysqldb installed. > It still shows the same error. > > > > -- > You received this message because you are subs

Re: no module named books found

2012-06-17 Thread Sabbineni Navneet
I have Mysqldb installed. It still shows the same error. -- 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...@

Re: no module named books found

2012-06-17 Thread kooliah
On 06/17/2012 06:23 AM, Sabbineni Navneet wrote: It still shows the same error . Do we have to create a database with that name before. How do we check if i have the python-mysqldb package . -- You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: no module named books found

2012-06-16 Thread Sabbineni Navneet
It still shows the same error . Do we have to create a database with that name before. How do we check if i have the python-mysqldb package . -- 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@googl

Re: no module named books found

2012-06-16 Thread Ernesto Guevara
The problem now is the database configuration: raise ImproperlyConfigured(" settings.DATABASES is improperly configured. " django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. DATAB

Re: no module named books found

2012-06-16 Thread Satvir Toor
On Sat, Jun 16, 2012 at 4:58 PM, Sabbineni Navneet wrote: > DATABASES = { >     'default': { >         'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', > 'mysql', 'sqlite3' or 'oracle'. >         'NAME': 'xam',                      # Or path to database file if > using sqlite3.

Re: no module named books found

2012-06-16 Thread Sabbineni Navneet
any idea whats wrong... On Sat, Jun 16, 2012 at 10:39 PM, Sabbineni Navneet < sabbsnavneet1...@gmail.com> wrote: > when i try only books. > the error shown is > > runnerw.exe C:\Python27\python.exe "C:\Program Files > (x86)\JetBrains\PyCharm 2.5.1\helpers\pycharm\django_manage.py" syncdb > C:/Use

Re: no module named books found

2012-06-16 Thread Sabbineni Navneet
when i try only books. the error shown is runnerw.exe C:\Python27\python.exe "C:\Program Files (x86)\JetBrains\PyCharm 2.5.1\helpers\pycharm\django_manage.py" syncdb C:/Users/navneet/PycharmProjects/djangotest2 Traceback (most recent call last): File "C:\Program Files (x86)\JetBrains\PyCharm 2.5

Re: no module named books found

2012-06-16 Thread Ernesto Guevara
Check the structure of project: Here I use Eclipse, and my project have this structure: myproject>myproject>app In your case: djangotest2>djangotest2>books Or: djangotest2>books And in installed_apps: INSTALLED_APPS = ( 'books', ) 2012/6/16 Sabbineni Navneet > project name is django

Re: No Module Named Generic

2012-05-01 Thread Gerald Klein
Wow, and thanks I must have been staring at it far too long, I appreciate your help. A fresh set of eyes often is the answer. thanks again,. --jerry On Tue, May 1, 2012 at 9:48 AM, Xavier Ordoquy wrote: > Hi, > > You should replace django.generic in the urlspatterns string with > django.views.

Re: No Module Named Generic

2012-05-01 Thread Xavier Ordoquy
Hi, You should replace django.generic in the urlspatterns string with django.views.generic Regards, Xavier Ordoquy Linovia. Le 1 mai 2012 à 16:30, Gerald Klein a écrit : > Hi, I am having a problem, where as django doesn't find the generics module. > Here is my urls.py > > thanks in advance.

Re: No Module named URLS

2012-02-07 Thread coded kid
Thank so much! I've figured it out. Have fun :) On Feb 6, 8:55 pm, Sandro Dutra wrote: > If I understand you're writing a template for admin, and this is not > required 'cause the admin template is called by the contrib > 'django.contrib.admin', in INSTALLED_APPS (settings file), only if you > wa

Re: No Module named URLS

2012-02-06 Thread Sandro Dutra
If I understand you're writing a template for admin, and this is not required 'cause the admin template is called by the contrib 'django.contrib.admin', in INSTALLED_APPS (settings file), only if you want to customize admin, you can override the admin files, putting them o 'yourtemplatesdir/admin/'

Re: No Module named URLS

2012-02-06 Thread akaariai
On Feb 6, 5:09 pm, coded kid wrote: > Hey guys, I’m getting an error when trying to visit my admin page: > TemplateSyntaxError at /admin/ > Caught ImportError while rendering: No module named urls > > In urls.py > from django.conf.urls.defaults import patterns, include, url > from django.contrib i

Re: No module named django after upgrade to os x Lion

2011-11-02 Thread angelika
Thanks a million, Kurtis! I followed your advice and I no longer get any errors when I run "python manage.py runserver". Hurray :) ! I'll probably give PostgreSQL a try once I've got the hang of python and django a bit more, since you were all so positive about that. My next problem is that the c

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread Kurtis
Okay, I think I've got the exact steps down needed to get this running right. If these are actually it, I'm not sure if I had any other prerequisites I can't think of at the moment, then it's a matter of copying and pasting 3 lines into your terminal. (Less than 5-10 minutes total) 1. Install "Bre

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread creecode
Hello Angelika, On Friday, October 28, 2011 2:13:20 AM UTC-7, angelika wrote: creecode, I tried the commands you suggested first. No matter which > version I switched to, it still said No module named django, which > seems weird but there it is. If your curious about where the old Django inst

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread angelika
Alright, I'm gonna give PostgreSQL a try over the weekend, I'll let you know how it works out. Thanks, guys! /Angelika On Oct 28, 12:49 pm, Kurtis Mullins wrote: > I'd give PostgreSQL a shot and see if it magically works for you. It's an > awesome database. If you have any problems with it though

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread Kurtis Mullins
I'd give PostgreSQL a shot and see if it magically works for you. It's an awesome database. If you have any problems with it though, here's the "easy way out" I took. I just installed Mac Ports and never had another problem. Of course, you'll have to make sure you're using the Mac Ports tools you i

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread Andre Terra
PostgreSQL is great, you will have no regrets! Cheers, AT On Fri, Oct 28, 2011 at 6:13 AM, angelika wrote: > Thank you all for your help and suggestions. Last time I installed > Django it took a full two days and I was nearly in tears at the end. > Most of the time was spend trying to solve th

Re: No module named django after upgrade to os x Lion

2011-10-28 Thread angelika
Thank you all for your help and suggestions. Last time I installed Django it took a full two days and I was nearly in tears at the end. Most of the time was spend trying to solve the problems that Kurtis is talking about, with the MySQLdb package. Although I am usually not a person who takes shortc

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Andre Terra
IMHO, If you can't understand how imports and sys.path work, it's best to put the Django book aside and read up on the basics of installing and running Python. Cheers, AT On Thu, Oct 27, 2011 at 1:55 PM, creecode wrote: > Angelika may not want to get into virtualenv and virtualenvwrapper at th

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread creecode
Angelika may not want to get into virtualenv and virtualenvwrapper at this point. If you're just getting into Python/Django it may be more overhead than you want to deal with conceptually at this time. If your project is simple or you're just learning then you may want to wait until you feel t

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread creecode
Hello Angelika, As a test you may want to try the defaults command ( for more info "$ man defaults" and/or google "mac os x defaults" ) to see if your Django install is still in the site-packages of an older version of python. Try something like this on the command line... $ defaults write co

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread bazaarsoft
Mac OS has always carried multiple Python installs. You can start python using python2.5, python2.6, and on Lion python2.7. Those installs are under /System/Library/Frameworks/Python.framework/ but links to the executables are in /usr/bin/. When you install Python packages, they get installed in /

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Javier Guerra Giraldez
On Thu, Oct 27, 2011 at 9:20 AM, Kurtis Mullins wrote: > If you don't want to use the complexity of the virtual environment, just run > "sudo easy_install django" or "sudo pip install django" from your terminal. > This will install Django system-wide. the same commands work inside a virtualenv. w

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Kurtis Mullins
Good luck with installing MySQL-python. You'll probably see an error at some point that the Module MySQLdb is missing if you use MySQL and don't install it. Last time, with Snow Leapord, I had to install "Mac Ports" to get it working. If you don't want to use the complexity of the virtual environm

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Tom Evans
On Thu, Oct 27, 2011 at 2:43 PM, Andre Terra wrote: > You can run different versions of python using virtualenv [1]. It is hands > down the best way to handle multiple python environments. > > You can use virtualenvwrapper [2] to automate some of the process. I'm not > sure how good it is on Mac O

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Andre Terra
You can run different versions of python using virtualenv [1]. It is hands down the best way to handle multiple python environments. You can use virtualenvwrapper [2] to automate some of the process. I'm not sure how good it is on Mac OS, but you should be fine. I found a link [3] that looks like

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread angelika
Thanks, Tom. I see. So basically I need to reinstall Django, if I want to run it on Python 2.7.1, is that it? As far as I can tell, the older versions of Python are still installed on my machine. Does that mean that it might be possible to run an older version instead, and not have to reinstall Dj

Re: No module named django after upgrade to os x Lion

2011-10-27 Thread Tom Evans
On Thu, Oct 27, 2011 at 7:17 AM, angelika wrote: > Hello, > > I'm new to both Python and Django. A few months ago, I installed > Django on my mac (running Snow Leopard). I took me quite some time, > but I got it running. After that I didn't get around to doing anything > with it. A few weeks ago,

Re: No module named servers.basehttp

2011-08-02 Thread bob gailer
I ran checkdsk, ensured no remnants of the original install were around, reinstalled django now it all works. -- 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

Re: No module named registrationprofiles

2011-07-08 Thread arjun
thanks a lot! On Jul 8, 8:46 pm, Karen Tracey wrote: > On Jul 8, 11:40 am, arjun wrote: > > > i am running django-registration, django-profiles apps. > > and getting the error 'No module named registrationprofiles' while > > syncdb command is used.. > > wat cud be the reason? > > A missing comma

Re: No module named registrationprofiles

2011-07-08 Thread Karen Tracey
On Jul 8, 11:40 am, arjun wrote: > i am running django-registration, django-profiles apps. > and getting the error 'No module named registrationprofiles' while > syncdb command is used.. > wat cud be the reason? A missing comma between the two entries in INSTALLED_APPS. Karen -- You received t

Re: No module named _md5

2010-12-25 Thread ramu...@gmail.com
I found answer here http://www.mail-archive.com/django-users@googlegroups.com/msg101199.html This is due to having a virtualenv created in a previous version of Ubuntu. Recreate the virtualenv under Lucid, and you should be fine. On Dec 14, 9:41 am, NavaTux wrote: > I am running my django blog

Re: No module named _md5

2010-12-15 Thread Cal Leeming [Simplicity Media Ltd]
http://www.google.co.uk/search?sourceid=chrome&ie=UTF-8&q=%22No+module+named+_md5%22 That should help you figure out why it's not working :) Try and figure it out first, and if you can't figure it out then you might want to consider not using Python on Linux, because you will encounter many probl

Re: No module named _md5

2010-12-14 Thread NavaTux
Same problem occurs; " (blogg)hire...@hirelex-laptop:~/Desktop/blogg/src$ *find -iname '*.pyc' -exec rm -f '{}' \;* (blogg)hire...@hirelex-laptop:~/Desktop/blogg/src$ cd .. (blogg)hire...@hirelex-laptop:~/Desktop/blogg$ ls bin blogsrc include lib src (blogg)hire...@hirelex-laptop:~/Desktop/b

Re: No module named _md5

2010-12-14 Thread Cal Leeming [Simplicity Media Ltd]
Hi NavaTux, I have seen this happening a few times, and usually it's something to do with really messed up .pyc files in the site-packages directory. Try running this on your site-packages directly: find -iname '*.pyc' -exec rm -f '{}' \; This will remove any compiled python scripts. If this

Re: "No module named copycompat" error

2010-10-20 Thread mathphreak
That worked. Thanks! On Oct 19, 4:05 pm, timc3 wrote: > From a python prompt can you do: > > from django.utils import copycompat > > If not, Django might not be imported properly. Also check your > PYTHONPATH. > > On Oct 18, 10:57 pm, mathphreak wrote: > > > > > I just upgraded my computer to U

Re: "No module named copycompat" error

2010-10-19 Thread timc3
>From a python prompt can you do: from django.utils import copycompat If not, Django might not be imported properly. Also check your PYTHONPATH. On Oct 18, 10:57 pm, mathphreak wrote: > I just upgraded my computer to Ubuntu 10.10, and now running "python > manage.py runserver" gives me "Error:

Re: No module named shortcuts

2010-09-13 Thread jean polo
doh, sorry I didn't even think about re-installing django. indeed it works fine now.. dunno what have happened, didn't update or anything, weird. anyway, thanks for your time and help =) cheers, _y On Sep 13, 10:01 am, bruno desthuilliers wrote: > On 12 sep, 21:30, jean polo wrote: > > > djang

Re: No module named shortcuts

2010-09-13 Thread bruno desthuilliers
On 12 sep, 21:30, jean polo wrote: > django.contrib.admin is the problem then.. > I can access the shell if I comment it.. > problem is that I have no idea about why or where to look Should have asked for this right from the beginning but... Could you post the full traceback you get ? Also,

Re: No module named shortcuts

2010-09-12 Thread ankit rai
Can you simply remove and re install the django .I have faced the same problem,this works for me! On Mon, Sep 13, 2010 at 1:00 AM, jean polo wrote: > django.contrib.admin is the problem then.. > I can access the shell if I comment it.. > problem is that I have no idea about why or where to look..

Re: No module named shortcuts

2010-09-12 Thread jean polo
django.contrib.admin is the problem then.. I can access the shell if I comment it.. problem is that I have no idea about why or where to look again thanks for the help _y On Sep 12, 7:58 pm, bruno desthuilliers wrote: > Duh... > > Comment all your INSTALLED_APPS and try running "./manage.py

Re: No module named shortcuts

2010-09-12 Thread bruno desthuilliers
On 12 sep, 17:59, jean polo wrote: > hi > I cannot even get to the shell in my project (still same error: 'No > module named shortcuts'). Duh... Comment all your INSTALLED_APPS and try running "./manage.py shell". If it works ok, then uncomment your installed apps one by one until it breaks aga

Re: No module named shortcuts

2010-09-12 Thread Albert Hopkins
On Sun, 2010-09-12 at 08:59 -0700, jean polo wrote: > sorry but I'm not sure to get what I'm supposed to find with this ? Something in your project is shadowing the django framework's namespace, so .e.g 1. You have created your own module or package and did a import django or

Re: No module named shortcuts

2010-09-12 Thread jean polo
hi I cannot even get to the shell in my project (still same error: 'No module named shortcuts'). So I created a new project and then: $ python manage.py shell >>> import django >>> type(django) >>> django.__file__ '/usr/lib/pymodules/python2.6/django/__init__.pyc sorry but I'm not sure to get wh

Re: No module named shortcuts

2010-09-12 Thread Albert Hopkins
On Sun, 2010-09-12 at 07:28 -0700, jean polo wrote: > mmh, if I create another project and use his settings.py in the non- > working one it works.. > I can't see what's wrong with my settings file, here it is in case > someone wants to have a look at it: Then try this: $ ./manage.py shell

Re: No module named shortcuts

2010-09-12 Thread jean polo
mmh, if I create another project and use his settings.py in the non- working one it works.. I can't see what's wrong with my settings file, here it is in case someone wants to have a look at it: ### settings.py import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( ('Yvan xxx', 'yvan@xxx

Re: No module named shortcuts

2010-09-12 Thread jean polo
well, this is weird, I have no other module/package named django in my project dir. I use django-1.2.1 and it worked fine until yesterday... I didn't do any changes except some views details and the same svn version (online) works fine... (~) % cd dev/myproject (~/dev/myproject) % ./manage.py shel

Re: No module named shortcuts

2010-09-12 Thread bruno desthuilliers
On 12 sep, 13:01, jean polo wrote: > >   File "manage.py", line 11, in >     execute_manager(settings) >   [SNIP] >     from django.shortcuts import get_object_or_404, render_to_response > ImportError: No module named shortcuts This usually happens when you have another module/package named djan

Re: No module named site - error deploying a django-jython war in tomcat

2010-07-26 Thread Jose Flores
Thanks Tim A workaround while the new beta is released is to manually update de web.xml defining the python.home variable, and creating a pth file pointing the project being deployed. I think a fix is needed for the war.py in order to doing those settings. On Jul 16, 4:36 pm, Tim Sawyer wrote: >

Re: No module named site - error deploying a django-jython war in tomcat

2010-07-16 Thread Tim Sawyer
I got around this problem by downgrading from jython 2.5.2beta1 to jython 2.5.1. Hope that helps! Tim. On 15/07/10 22:47, Jose Flores wrote: Hi guys, Any workaround on this issue? Regards, Jose On Jul 8, 2:43 pm, Rafael Nunes wrote: Same problem here. Any thoughts? On Jun 29, 10:50 am,

Re: No module named site - error deploying a django-jython war in tomcat

2010-07-15 Thread Jose Flores
Hi guys, Any workaround on this issue? Regards, Jose On Jul 8, 2:43 pm, Rafael Nunes wrote: > Same problem here. > > Any thoughts? > > On Jun 29, 10:50 am, tobycatlin wrote: > > > > > Hello everybody, > > > I have followed the install instructions for the latest versions of > > the following: j

Re: No module named site - error deploying a django-jython war in tomcat

2010-07-08 Thread Rafael Nunes
Same problem here. Any thoughts? On Jun 29, 10:50 am, tobycatlin wrote: > Hello everybody, > > I have followed the install instructions for the latest versions of > the following: jython (version: jython-2.5.2b1), django (1.2.1) and > jython-django (version 1.1.1) and have built a war of my very

Re: No module named django_dns.urls

2010-05-30 Thread Reino
Thanks for you reply Karen, It seems I messed someting up myself. I deleted the project and application, and recreated them from scratch, and now it works like a charm. Best wishes -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: No module named django_dns.urls

2010-05-24 Thread Karen Tracey
On Mon, May 24, 2010 at 5:08 AM, Reino wrote: > I am a newbee to Django. I recently installed Django om my Centos 5.4 > Linux box and created a projekt. Then I modified settings.py to suit > my needs, and modified Apache's config file. I created the databases > with default setting in setting.py

Re: "No module named admin.site.root" on r13043

2010-04-28 Thread Ramiro Morales
On Wed, Apr 28, 2010 at 6:02 PM, sli wrote: > I've been trying to fix this issue for about half an hour, now. > Current code: > > from django.contrib import admin > admin.autodiscover() > ... > # Uncomment the next line to enable the admin: > (r'^admin/(.*)', include('admin.site.root')), > > I've

Re: No module named defaults

2010-04-01 Thread Robert
Hi, I got this one worked out. I had to clean up my urls.py. I had some patterns there that I had tried out earlier that didn't work. I thought they wouldn't do any harm if I left them there. However, it seems like they kept the HttpResponseRedirect function from working. I deleted the patterns and

Re: No module named urls

2010-02-08 Thread Brian
Aaargh! I knew it had to be something like that! Thanx Karen. On Feb 7, 5:20 pm, Karen Tracey wrote: > On Sun, Feb 7, 2010 at 4:27 PM, Brian wrote: > > Hi all, > > > I'm putting together a Django application from scratch and have > > created my models. I'm trying to activate the admin site now

Re: No module named urls

2010-02-07 Thread Karen Tracey
On Sun, Feb 7, 2010 at 4:27 PM, Brian wrote: > Hi all, > > I'm putting together a Django application from scratch and have > created my models. I'm trying to activate the admin site now and am > getting the above error. I've tried everything I found on mailing > lists with no luck. This includes

Re: No module named urls (again)

2009-12-16 Thread Pablo Solera
Hi Michael, Thanks for your suggestion. I´ve added the whole project to the PYTHONPATH under project->properties->PYTHONPATH->Add source folder And now it works! I had to solve an additional error, the app couldn´t find my "templates" dir. When running the server on eclipse, it threw an error "

Re: No module named urls (again)

2009-12-15 Thread Michael K
On Dec 15, 3:18 pm, Pablo Solera wrote: > When I try to run the same server from eclipse, it seems that > something is not correct. > I got the error: ImportError at / "No module named urls" > I do have the urls.py on my application, and averything works fine out > of eclipse. > > Could it be a

Re: No module named il8n after following up all the recommendation on djangoproject.com

2009-12-06 Thread rebus_
2009/12/6 GoSantoni : > Hey all, i am new to django and started using pinax. For now i am > trying to set up il8n support using > http://docs.djangoproject.com/en/dev/topics/i18n/?from=olddocs > but it keeps on failing with a TemplateSyntaxError > 'il8n' is not a valid tag library: Could not load

  1   2   >