Hi yes, i restarted apache after uploading my files. Just in case, here is the error message i received: ViewDoesNotExist at /user/eugene/
Could not import crud.views. Error was: No module named crud.views Request Method: GET Request URL: http://140.119.19.139/user/eugene/ Exception Type: ViewDoesNotExist Exception Value: Could not import crud.views. Error was: No module named crud.views Exception Location: /home/lab/public_html/django/django/core/ urlresolvers.py in _get_callback, line 133 Python Executable: /usr/bin/python Python Version: 2.6.2 Python Path: ['/home/lab/public_html/django', '/usr/lib/python2.6', '/ usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/ python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/ python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/Numeric', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist- packages/gst-0.10', '/var/lib/python-support/python2.6', '/usr/lib/ python2.6/dist-packages/gtk-2.0', '/var/lib/python-support/python2.6/ gtk-2.0', '/usr/local/lib/python2.6/dist-packages'] Server time: Sun, 18 Oct 2009 13:23:32 -0500 ***************************************************** The weird thing is that i have installed the application and uploaded as it is up to my production server. And its telling me that the 'crud' views does not exist. How do i fix this? Best. On Oct 19, 2:05 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Oct 18, 6:54 pm, DjangoRocks <ye.eug...@gmail.com> wrote: > > > > > Hi all, > > The environment i am using to set up my django project/app on a > > production server is as follows: > > Ubuntu 9.04, Django 1.02, Python version 2.6.2. > > > Mysql, mysqldb, apache2 and php is all set up and good to go. > > > I have followed the tutorial > > athttp://jeffbaier.com/articles/installing-django-on-an-ubuntu-linux-se... > > for setting Django and it worked ok. I named the project as the same > > name for my django project on my development computer. > > > I got the Django error message since i have not done anything yet when > > i visited the ip address. Which means that my installation were ok. > > > Next i created an app ( on the production server ) as per the name i > > have named on my development computer. > > After which i uploaded alllmy django projct/app files to the > > production server using the terminal. > > > Here's where the nightmare happens: > > > After i have copied all my django project files to the production > > server, and tested the application on the production server, only the > > homepage worked. > > > Whenever i tried to visit other pages to test it out, i received the > > error : Exception Type: ViewDoesNotExist > > > However, the problem is that i have already started the app in the > > production server before i upload all my files onto the project > > itself. > > > May i know how do i fix this problem? > > > Best Regards, > > Eugene > > Did you restart Apache after uploading your files? > -- > DR. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---