Need help setting up django

2021-05-06 Thread Philip Pelletier
Environment: Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 3.2.1 Python Version: 3.9.4 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.st

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2019-01-26 Thread chandrashekhar Damahe
hii, i am follow these steps but i got error " The requested URL /dispatch.py/ was not found on this server. " will you help me to solve these error On Saturday, December 29, 2007 at 3:50:38 AM UTC+5:30, Donald H wrote: > > Has anyone had success in setting up Django on GoDaddy

Re: Setting up Django templates

2018-05-21 Thread Daniel Roseman
On Sunday, 20 May 2018 15:31:08 UTC+1, Salty beggar wrote: > > Hi, I'm trying to set up Templates for Django. I already have models and > views that function, and now I'm trying to figure out a way to get an > actual page to show for it. > > > > The views return JSON-formatted information,

Setting up Django templates

2018-05-20 Thread Salty beggar
Hi, I'm trying to set up Templates for Django. I already have models and views that function, and now I'm trying to figure out a way to get an actual page to show for it. My models are from django.db import models class Continent(models.Model): name = models.CharField(max_length=60, de

Re: [python-uk] Setting up Django on Google Cloud (basic server)

2018-01-25 Thread Nick Sarbicki
There was a discussion on a slack channel a few days ago with someone who, suspiciously, had the same name and problem. They'd tried to set up firewall rules (not sure they worked) and was trying to get it running via port 80 with gunicorn. Haven't heard anything else so assuming fixed. On Thu, 25

Re: Setting up Django on Google Cloud (basic server)

2018-01-20 Thread Nick Sarbicki
Hi Samuel, You probably haven't opened access to port 8000 to the public Try run server on port 80. Nick. On Sat, 20 Jan 2018, 14:53 Samuel Muiruri, wrote: > I had this issue before with AWS i remember it was just as stressful then > and actually can't remember what actually fixed it. I basic

Re: Setting up Django for the first time, urls.py and settings.py

2017-10-02 Thread Kishore Srinivas
Always have the documentation with you while following the old tutorials.when I was starting Django I had big problems while using a tutorial in Django 1.7 with Django 1.10, nothing worked, but using documentation you can pretty much find what had changed -- You received this message because

Re: Setting up Django for the first time, urls.py and settings.py

2017-10-01 Thread Jani Tiainen
Hi. Urls changed so that you can't pass view as a string anymore. If you're looking good tutorial Django Girls do have one. And it's using recent djangi. 1.10.2017 2.40 ip. "drone4four" kirjoitti: > I’m playing with Django for the first time. I am using a guide called, > “Python > from Scra

Setting up Django for the first time, urls.py and settings.py

2017-10-01 Thread drone4four
I’m playing with Django for the first time. I am using a guide called, “Python from Scratch - Creating a Dynamic Website ” by [b]Tuts+ Code[/b] from YouTube. It’s kinda old. It was first posted in November 2011 and Django has evolved considerab

Re: How to set mysql database in setting up django setup in eclipse ?

2017-04-27 Thread Pubudu Goonetilleke
I will try that. I thought better IDE would simplify the learning curve. But its true it may hide fundamental understanding with some automated support. On Monday, April 24, 2017 at 7:38:21 AM UTC-7, Derek wrote: > > I'd avoid a more complex tool like Eclipse when starting out - and try > usin

Re: How to set mysql database in setting up django setup in eclipse ?

2017-04-27 Thread Pubudu Goonetilleke
Thank you. Its my bad that I captured the windows with 1.1. Yes I am using 1.11. On Sunday, April 23, 2017 at 5:38:39 PM UTC-7, Vijay Khemlani wrote: > > I don't use Eclipse for development, but your screenshot says "Django > version 1.1 or earlier" which is awfully old, we are at 1.11, as in

Re: How to set mysql database in setting up django setup in eclipse ?

2017-04-24 Thread Derek
I'd avoid a more complex tool like Eclipse when starting out - and try using a simple text editor like Atom or Sublime Text; that way you get a much more "hands on" understanding of Django. (Also - maybe don't MySQL when starting out & just stick to SQLite - its fine for learning purposes) On

Re: How to set mysql database in setting up django setup in eclipse ?

2017-04-23 Thread Vijay Khemlani
I don't use Eclipse for development, but your screenshot says "Django version 1.1 or earlier" which is awfully old, we are at 1.11, as in there was a versions 1.2 1.3 1.4 1.5 1.11. settings file has changed a lot since that time. On 4/23/17, Pubudu Goonetilleke wrote: > Hi, > I am very new

How to set mysql database in setting up django setup in eclipse ?

2017-04-23 Thread Pubudu Goonetilleke
Hi, I am very new to web programming and trying to learn ABCs of this whole new thing. I am following some online tutorials and facing some few things that I am trying to understand. first, when I create dJango (1.11) project in eclipse (Neon 3) in pyDev (latest), I set data base information as

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2017-03-19 Thread saurabhmishra4894
someone help me i am getting thi 500 internal error i dont understand whats wrong -- 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+unsubscr...@goog

Re: Setting up django mailbox

2016-02-05 Thread learn django
Hi All, I was able to resolve the issue yesterday night. Forgot to send an email. I had to reduce the security level of gmail so that app can access it. Thanks for all the help. On Thursday, February 4, 2016 at 11:58:03 PM UTC-8, Daniel Chimeno wrote: > > This are the settings you should put: >

Re: Setting up django mailbox

2016-02-04 Thread Daniel Chimeno
This are the settings you should put: https://support.google.com/mail/troubleshooter/1668960?rd=1#ts=1665018%2C1665144 El viernes, 5 de febrero de 2016, 2:04:44 (UTC+1), learn django escribió: > > I tried both but no luck. > > On Thursday, February 4, 2016 at 3:49:48 PM UTC-8, Dheerendra Rathor w

Re: Setting up django mailbox

2016-02-04 Thread learn django
I tried both but no luck. On Thursday, February 4, 2016 at 3:49:48 PM UTC-8, Dheerendra Rathor wrote: > > Are you sure imap.company.com is handling your imap server and not > imap.google.com? > > On Thu, 4 Feb 2016 at 23:24 Daniel Chimeno > wrote: > >> Hello, >> If you are writing about his proj

Re: Setting up django mailbox

2016-02-04 Thread Dheerendra Rathor
Are you sure imap.company.com is handling your imap server and not imap.google.com? On Thu, 4 Feb 2016 at 23:24 Daniel Chimeno wrote: > Hello, > If you are writing about his project: > https://github.com/coddingtonbear/django-mailbox I guess > it's better to ask in the issues page of that projec

Re: Setting up django mailbox

2016-02-04 Thread Daniel Chimeno
Hello, If you are writing about his project: https://github.com/coddingtonbear/django-mailbox I guess it's better to ask in the issues page of that project: https://github.com/coddingtonbear/django-mailbox/issues El jueves, 4 de febrero de 2016, 23:02:36 (UTC+1), learn django escribió: > > Hi

Setting up django mailbox

2016-02-04 Thread learn django
Hi, Am trying to setup django mailbox from admin page and seeing issues. My email address is f...@company.com. We use google.com for our email service. My username is "a...@company.com", name is "abc abc" and password is "abc1234". Am putting following details on django_mailbox page. Name:

Re: Setting up Django

2016-01-17 Thread ofeyofey
Django site. Getting errors when > i try to make migrations after adding the app to the list of apps in > mathGenerator/settings.py > > Setting up Django on a raspberry Pi. I don't think the fact that it is on > api should make any difference becasue it is basical

Re: Setting up Django

2016-01-16 Thread Andrew Farrell
erator/models.py", line 8, in > > class Choice(models.model): > AttributeError: 'module' object has no attribute 'model' > > Thanks, > > On Saturday, 16 January 2016 21:27:31 UTC, ofeyofey wrote: > >> Hi, >> >> I am following th

Re: Setting up Django

2016-01-16 Thread ofeyofey
line 8, in class Choice(models.model): AttributeError: 'module' object has no attribute 'model' Thanks, On Saturday, 16 January 2016 21:27:31 UTC, ofeyofey wrote: > > Hi, > > I am following the Django tutorial on the Django site. Getting errors when > i tr

Re: Setting up Django

2016-01-16 Thread ofeyofey
ateTimefield' Thanks On Saturday, 16 January 2016 21:27:31 UTC, ofeyofey wrote: > > Hi, > > I am following the Django tutorial on the Django site. Getting errors when > i try to make migrations after adding the app to the list of apps in > mathGenerator/settings.py > &

Re: Setting up Django

2016-01-16 Thread Vijay Khemlani
o tutorial on the Django site. Getting errors when > i try to make migrations after adding the app to the list of apps in > mathGenerator/settings.py > > Setting up Django on a raspberry Pi. I don't think the fact that it is on > api should make any difference beca

Setting up Django

2016-01-16 Thread ofeyofey
Hi, I am following the Django tutorial on the Django site. Getting errors when i try to make migrations after adding the app to the list of apps in mathGenerator/settings.py Setting up Django on a raspberry Pi. I don't think the fact that it is on api should make any difference becasue

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2013-12-08 Thread Kapil Chandra
Just wanted to say that this seemed to work for getting Flask running on godaddy too (skipping the django specific steps of course) with two differences. In dispatch.py instead of: from django.core.handlers.wsgi import WSGIHandler WSGIServer(WSGIHandler()).run() use: from yourapp import app WS

Setting up django with mongoengine on windows7

2013-06-27 Thread Dave Francois
So I am trying to set mongo-engine as django's back-end and am having no luck :/ so if someone can point me in the direction of a really good guide to follow or can walk through setup with me that would be greatly appreciated -- You received this message because you are subscribed to the Goog

Re: Problem setting up django server

2013-06-18 Thread Rafael E. Ferrero
i'll recomend to you... to remove and reinstall (or upgrade) your python from 2.6 to 2.7, remove and reinstall django 1.5... so you can take a fresh start. https://docs.djangoproject.com/en/1.5/intro/install/ cheers 2013/6/18 Nick Dokos > smy28 writes: > > > Okay, so I ran python manage.py s

Re: Problem setting up django server

2013-06-18 Thread Nick Dokos
smy28 writes: > Okay, so I ran python manage.py shell and I got the following error: > TypeError: Error when calling the metaclass bases > __init__() keywords must be strings > I'd suggest that you remove everything and start from scratch. Make sure that all the requirements are met and that

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:46, smy28 wrote: > No, I haven't edited anything yet. Okay, I attached a models.py file > from django/contrib/auth > > On Tuesday, June 18, 2013 11:39:09 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:37, smy28 wrote: >> Yes, I have attached the base.py file (which seem

Re: Problem setting up django server

2013-06-18 Thread Randy Baxley
Glad and sad that you are going through this. Sad in that the process seems too complicated. Glad in that I have failed miserably in trying to get virtualenv, vagrant, and other packages to install both in Windows and in Xubunto. I have run python27 and 33 without problems but even in the 27 dir

Re: Problem setting up django server

2013-06-18 Thread smy28
Okay, so I ran python manage.py shell and I got the following error: TypeError: Error when calling the metaclass bases __init__() keywords must be strings On Tuesday, June 18, 2013 11:10:10 AM UTC-4, Roberto wrote: > > Are you in a virtualenv? Can you run $python manage.py shell? > > Which v

Re: Problem setting up django server

2013-06-18 Thread smy28
No, I'm not in a virtualenv. This is my first time using python, so bear with me! I just installed the v2.7 dmg, but I'm not sure what else I need to do to get it running. On Tuesday, June 18, 2013 11:10:10 AM UTC-4, Roberto wrote: > > Are you in a virtualenv? Can you run $python manage.py shel

Re: Problem setting up django server

2013-06-18 Thread smy28
No, I haven't edited anything yet. Okay, I attached a models.py file from django/contrib/auth On Tuesday, June 18, 2013 11:39:09 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:37, smy28 wrote: > > Yes, I have attached the base.py file (which seems to be the one with the > error, correct?

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:37, smy28 wrote: > Yes, I have attached the base.py file (which seems to be the one with > the error, correct?) > > On Tuesday, June 18, 2013 11:11:52 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:00, smy28 wrote: > > I just installed Django and I'm trying to initially

Re: Problem setting up django server

2013-06-18 Thread smy28
Yes, I have attached the base.py file (which seems to be the one with the error, correct?) On Tuesday, June 18, 2013 11:11:52 AM UTC-4, Michael Anckaert wrote: > > On 18/06/13 17:00, smy28 wrote: > > I just installed Django and I'm trying to initially set up the server, > > as detailed in the '

Re: Problem setting up django server

2013-06-18 Thread Roberto
Are you in a virtualenv? Can you run $python manage.py shell? Which version of python have you installed? Django v1.5 requires python >= v2.6.5, and from your stacktrace it seems you just have v2.6. https://docs.djangoproject.com/en/1.5/faq/install/#what-are-django-s-prerequisites On Tuesday,

Re: Problem setting up django server

2013-06-18 Thread Michael Anckaert
On 18/06/13 17:00, smy28 wrote: > I just installed Django and I'm trying to initially set up the server, > as detailed in the 'Part 1' Tutorial. I haven't configured any > settings yet. Whenever I run the command "python manage.py runserver", > I get the following message: > > > > Validating models

Problem setting up django server

2013-06-18 Thread smy28
I just installed Django and I'm trying to initially set up the server, as detailed in the 'Part 1' Tutorial. I haven't configured any settings yet. Whenever I run the command "python manage.py runserver", I get the following message: Validating models... Unhandled exception in thread started

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2013-05-13 Thread Tom Evans
On Fri, May 10, 2013 at 7:04 PM, Radomir Wojcik wrote: > I was looking for the answer to this today and I wrote a tutorial on how to > do this based on all the stuff I found on the net: > > With the economy class Linux hosting its a bit tricky. For starters you > don't have root access to the site

Re: problem setting up DJANGO Database MySQL, library MySQL-python seemed installed

2013-05-13 Thread Sergiy Khohlov
have you used virtenviroment ? could you please check a python version ? Many thanks, Serge +380 636150445 skype: skhohlov On Fri, May 10, 2013 at 1:25 AM, wrote: > Unable to setup MySQL on CentOS5.9 for DJango > > raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) > d

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2013-05-10 Thread Gerald Klein
Wow thanks amazing work, I wondered if someone had figured out a way to do it. thanks --jerry On Fri, May 10, 2013 at 1:04 PM, Radomir Wojcik wrote: > I was looking for the answer to this today and I wrote a tutorial on how > to do this based on all the stuff I found on the net: > > With the

Re: Setting up Django on GoDaddy Deluxe Shared Hosting

2013-05-10 Thread Radomir Wojcik
I was looking for the answer to this today and I wrote a tutorial on how to do this based on all the stuff I found on the net: With the economy class Linux hosting its a bit tricky. For starters you don't have root access to the site packages so you cannot install for example MySQL-Python. 1.

problem setting up DJANGO Database MySQL, library MySQL-python seemed installed

2013-05-09 Thread webgamer . sc
Unable to setup MySQL on CentOS5.9 for DJango raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module: No module named MySQLdb [schu@bigdata1 firstsite]$ which pip /usr/bin/which: no pip in (.:/usr/libexec/:

Re: Error setting up Django 1.4 on cPanel Server

2012-11-06 Thread Bestrafung
I think I've pretty well ruled out python as the issue. It looks to be in the Apache/mod_wsgi setup somewhere. I can start the built-in runserver, "python manage.py runserver 0.0.0.0:8000", and work with it but Apache refuses to work. I've never worked with mod_wsgi or Django before so I'm not

Error setting up Django 1.4 on cPanel Server

2012-11-05 Thread Bestrafung
I am slowly working all of this out and the first 3 or 4 times I tried to setup Django on our cPanel server I kept getting the same 403 Forbidden error. I scrapped everything and started from scratch as I wanted to use Python 2.7 instead of 2.5. Now I am receiving completely different errors I'

Setting up Django 1.4 for a production environment

2012-09-23 Thread Zach
I am new to django and I am having trouble following the instructions on setting up django with apache and mod_wsgi. Apache 2.2.22, Python 2.7.2 and mod_wsgi are all install on my machine running Mac os X 10.8.2 (mountain lion). I have imported a conf file to my httpd file with the following

Re: setting up Django Compressor

2012-09-05 Thread Phil
Hi Joni, Yes I have 'compressor.finders.CompressorFinder' added. All the requirements are installed too I double checked them all, tried installing them all individually and it said they were all installed already. When I first setup the site it was using django1.3, but recently upgraded it.

Re: setting up Django Compressor

2012-09-02 Thread Joni Bekenstein
Just to cover the basics, did you follow all installation steps described here: http://django_compressor.readthedocs.org/en/latest/quickstart/#installation Mainly adding 'compressor.finders.CompressorFinder' to STATICFILES_FINDERS Another thing kind of odd is that your css URL starts with /medi

Re: setting up Django Compressor

2012-09-02 Thread Phil
Hi Joni, Thanks a million for reply. Yes I am using django runserver, its a working site just trying to get compressor working locally before moving to production. My css works fine without the compressor app. I can't see the file if I copy it in my url I get a 500 error and the "CACHE" folder

setting up Django Compressor

2012-09-01 Thread Joni Bekenstein
The generated css file seems to be in your media directory. If you copy that URL, can you see the css file? Are you using Django's dev server (runserver)? If so, did you add to your urls.py a view to serve the media files? (and that view should only exist when DEBUG is true since in production y

setting up Django Compressor

2012-08-31 Thread Phil
Hi, Django1.4, Python2.7 I am currently trying to get django compressor to work locally, I installed django_compressor via pip install earlier, added it to my installed apps. Here is a copy of my base template {% load i18n %} {% load compress %}

Re: setting up django with virtualenv on windows7

2012-06-25 Thread Jani Tiainen
/questions/11193905/setting-up-django-with-virtualenv-on-windows7/ could any1 explain to me why isnt this working? //or how is this supposed to work if everything was ok import django django.__path__ should return to you where it is installed. Check to make sure that it is installed inside the

Re: setting up django with virtualenv on windows7

2012-06-25 Thread Dan Johnson
On 06/25/2012 03:12 PM, mymlyn wrote: i started a topic on stackoverflow, analysing responses on SO, on similar topics, im not really sure wether ill get any feedback there so im gonna try here :) described my problem here: http://stackoverflow.com/questions/11193905/setting-up-django-with

setting up django with virtualenv on windows7

2012-06-25 Thread mymlyn
i started a topic on stackoverflow, analysing responses on SO, on similar topics, im not really sure wether ill get any feedback there so im gonna try here :) described my problem here: http://stackoverflow.com/questions/11193905/setting-up-django-with-virtualenv-on-windows7/ could any1 explain

Re: Setting up django-sentry?

2011-12-11 Thread Alan
; > > > > > > On Mon, Dec 12, 2011 at 00:28, Alan wrote: > > Did anyone have any trouble setting up django-sentry? > > > I followed the instructions for the 'integrated' (i.e., client = > > server) approach here: > >http://sentry.readthedocs.or

Re: Setting up django-sentry?

2011-12-11 Thread Ezequiel Bertti
show the log configuration of your monitored application On Mon, Dec 12, 2011 at 00:28, Alan wrote: > Did anyone have any trouble setting up django-sentry? > > I followed the instructions for the 'integrated' (i.e., client = > server) approach here: > http://sentry.

Setting up django-sentry?

2011-12-11 Thread Alan
Did anyone have any trouble setting up django-sentry? I followed the instructions for the 'integrated' (i.e., client = server) approach here: http://sentry.readthedocs.org/en/latest/install/index.html And everything I find online says it's just supposed to caught exceptions by def

Re: Setting up Django with fastCGI on centos with apache

2011-07-19 Thread Rick Beacham
here is my problem.. After trying to run on localhost/hello/ through lynx I get a 500. This is what htttpd error_log file prints out. I am not using socks, i am using tcp host port 3303. [Tue Jul 19 13:23:16 2011] [error] [client 127.0.0.1] (13)Permission denied: FastCGI: failed to connect to se

Re: Setting up Django with fastCGI on centos with apache

2011-07-19 Thread Tom Evans
On Tue, Jul 19, 2011 at 5:05 PM, Rick Beacham wrote: > thanks for the info.  I corrected the this but i'm still having issues. > My crystal ball is out of order, could you specify the issues please. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Djan

Re: Setting up Django with fastCGI on centos with apache

2011-07-19 Thread Rick Beacham
m > > > On Fri, 2011-07-15 at 12:06 -0700, Rick Beacham wrote: > > I'm having alot of trouble with setting up django with fastCGI. I was > > able to use the default test server made with django no problem. But > > I'm having trouble setting it up with httpd and

Re: Setting up Django with fastCGI on centos with apache

2011-07-15 Thread ionic drive
-read the tutorial you are working on. Good luck! Ionic Electronics Platform http://develissimo.com On Fri, 2011-07-15 at 12:06 -0700, Rick Beacham wrote: > I'm having alot of trouble with setting up django with fastCGI. I was > able to use the default test server made with django

Setting up Django with fastCGI on centos with apache

2011-07-15 Thread Rick Beacham
I'm having alot of trouble with setting up django with fastCGI. I was able to use the default test server made with django no problem. But I'm having trouble setting it up with httpd and fastCGI in scientific linux(centos).. Here is the error message after running this command .

Re: Setting Up Django as Virtual Host

2010-05-22 Thread Richard Shebora
fyi... http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html On Sat, May 22, 2010 at 6:19 PM, Daniel Roseman wrote: > On May 22, 6:47 pm, Mike T wrote: >> Um, could someone point me in the right direction.  I have a site with >> a standard lamp server, running PHP.  I want to

Re: Setting Up Django as Virtual Host

2010-05-22 Thread Daniel Roseman
On May 22, 6:47 pm, Mike T wrote: > Um, could someone point me in the right direction.  I have a site with > a standard lamp server, running PHP.  I want to add a second Django > site, using a virtual host.  I have the virtual host set up, but I > don't know anything about configuring it to work.

Setting Up Django as Virtual Host

2010-05-22 Thread Mike T
Um, could someone point me in the right direction. I have a site with a standard lamp server, running PHP. I want to add a second Django site, using a virtual host. I have the virtual host set up, but I don't know anything about configuring it to work. I've done Django Development, but never co

Re: Setting up Django on snow leopard

2010-04-09 Thread Steven Elliott Jr
Its also a good idea to install the Developer Tools ... You should check which version of Python you are using too. I think be default OS X uses 2.6.1 This is what I get when I type "python" into the terminal: Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) On Apr 9, 2010, at 11:38 AM, Lee Hi

Re: Setting up Django on snow leopard

2010-04-09 Thread Steven Elliott Jr
Are you running the install as superuser? I am running leopard too and ran into the same problem but once you run it as: sudo python setup.py install it should work.. Also, dumb question but do you have mysql installed? Its also a good idea to put this: # mysql path PATH=${PATH}:/usr/local/mys

Re: Setting up Django on snow leopard

2010-04-09 Thread Lee Hinde
On Apr 8, 1:50 pm, CG wrote: > I have successfully setup django, although I am not sure how I did > it.  Now I am trying to setup MySQLdb  but keep getting the error >   File "setup.py", line 5, in >     from setuptools import setup, Extension > ImportError: No module named setuptools > > On Ap

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
I have successfully setup django, although I am not sure how I did it. Now I am trying to setup MySQLdb but keep getting the error File "setup.py", line 5, in from setuptools import setup, Extension ImportError: No module named setuptools On Apr 8, 12:45 pm, CG wrote: > Nothing happens

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
Nothing happens, I just get a > On Apr 8, 12:39 pm, Tim Shaffer wrote: > Very strange. What happens if you open a new Terminal window and run > the following? > > python -c "import sys; print sys.path" -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Setting up Django on snow leopard

2010-04-08 Thread Tim Shaffer
Very strange. What happens if you open a new Terminal window and run the following? python -c "import sys; print sys.path" -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To un

Re: Setting up Django on snow leopard

2010-04-08 Thread CG
Hi Tim, Thank you for responding. When I run: import sys for p in sys.path: print p It does not print anything. The path is to the django site packages is /Library/Python/2.6/site- packages/Django-1.1.1-py2.6.egg/django On Apr 8, 12:26 pm, Tim Shaffer wrote: > What is the absolute path to

Re: Setting up Django on snow leopard

2010-04-08 Thread Tim Shaffer
What is the absolute path to the django site-packages folder? What does the following code output when you run it in the python interpreter? import sys for p in sys.path: print p -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Setting up Django on snow leopard

2010-04-08 Thread CG
Hello, I am trying to setup Django on snow leopard and I am running into some problems. I have succesfully run the install from the command line, and can see the Django folder in my python 2.6 site packages folder. However when I try to import django in the idle tool, I get an error that says Tra

Re: Setting up django on xampp with apache, python 2.6 and mod_wsgi

2009-07-31 Thread Michael Ralan
Karen hi, Thanks for the reply. I think I narrowed it down to the way I installed Python on this server. I can run django applications and other python scripts just fine from the command line. It turns out that a quick way to test my Python + Apache setup is replace the .wsgi file with the follo

Re: Setting up django on xampp with apache, python 2.6 and mod_wsgi

2009-07-31 Thread Karen Tracey
On Fri, Jul 31, 2009 at 8:53 AM, Michael Ralan wrote: > > > I get an (unhelpful) xampp error message that reads > > > Microsoft Visual C++ Runtime Library > --- > Runtime Error! > > Program: C:\xampp\apache\bin\httpd.exe > > R6034 > > An application has made an attempt to

Re: Setting up django on xampp with apache, python 2.6 and mod_wsgi

2009-07-31 Thread Michael Ralan
I get an (unhelpful) xampp error message that reads Microsoft Visual C++ Runtime Library --- Runtime Error! Program: C:\xampp\apache\bin\httpd.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's supp

Re: Setting up django on xampp with apache, python 2.6 and mod_wsgi

2009-07-31 Thread Karen Tracey
On Fri, Jul 31, 2009 at 8:36 AM, Michael Ralan wrote: > > Hi, > > I've searched the internet and come across a couple of pages > ostensibly showing how this is done, but even the django documentation > itself (sans being xampp-specific) has not met me with success. > > I got to the point where I'

Setting up django on xampp with apache, python 2.6 and mod_wsgi

2009-07-31 Thread Michael Ralan
Hi, I've searched the internet and come across a couple of pages ostensibly showing how this is done, but even the django documentation itself (sans being xampp-specific) has not met me with success. I got to the point where I've installed mod_wsgi, set up the test app but am struggling with the

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-27 Thread Ariel Nunez
On Sat, Jun 27, 2009 at 12:09 PM, Duvalfan23 wrote: > > Well I actually have Wubi (Ubuntu inside Windows) on my computer, but > do not feel nearly as comfortable as Windows since Ive been using > Windows for years. I also have all of my development tools on Windows > that Ive purchased. I do not

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-27 Thread Duvalfan23
Well I actually have Wubi (Ubuntu inside Windows) on my computer, but do not feel nearly as comfortable as Windows since Ive been using Windows for years. I also have all of my development tools on Windows that Ive purchased. I do not get as good of productivity on Linux since Im not as used to it

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-26 Thread iyank7
Duvalfan23 wrote: > I am a new user to Django and want to set it up with Apache, Nginx, > and MySQL on Windows Vista for testing. I will set up on Linux once I > get a shared hosting account. Does anyone know a website that explains > this very well from start to finish on Vista? Or can someone ex

Setting up Django, Apache and Nginx on Windows Vista

2009-06-25 Thread Duvalfan23
I am a new user to Django and want to set it up with Apache, Nginx, and MySQL on Windows Vista for testing. I will set up on Linux once I get a shared hosting account. Does anyone know a website that explains this very well from start to finish on Vista? Or can someone explain how to do this on Wi

Re: Setting up DJango and Stackless

2009-05-29 Thread Karen Tracey
On Fri, May 29, 2009 at 1:39 PM, Serendipity wrote: > > I am trying to setup stackless and django. > [snip] Answered in this other identical thread: http://groups.google.com/group/django-users/browse_thread/thread/824ba571939020b2# Karen --~--~-~--~~~---~--~~ Y

Setting up DJango and Stackless

2009-05-29 Thread Serendipity
I am trying to setup stackless and django. For this purpose I am using python2.6 , I installed stackless ( ./ configure, make, make install ) using this. I also installed the psycopg package with python ( stackless ) but for some reason when i try to run shell it throws up an error saying that d

Re: Setting Up Django on Vista and Creating a Database

2008-11-18 Thread John Antony
hey thanks peter..I did not know abt MySQLdbgot it now... John On Nov 18, 12:11 am, "Peter Herndon" <[EMAIL PROTECTED]> wrote: > The other thing that comes to mind is, have you installed the MySQLdb > python library?  If you want to connect to a database from a Python > app, you must also in

Re: Setting Up Django on Vista and Creating a Database

2008-11-17 Thread Peter Herndon
The other thing that comes to mind is, have you installed the MySQLdb python library? If you want to connect to a database from a Python app, you must also install a library that bridges Python and the database. (I apologize in advance if you've already done so). ---Peter On 11/17/08, Karen Tr

Re: Setting Up Django on Vista and Creating a Database

2008-11-17 Thread Karen Tracey
On Mon, Nov 17, 2008 at 3:13 AM, John Antony <[EMAIL PROTECTED]> wrote: > > I have currently created a database with the following details: > DATABASE_ENGINE = 'mysql' > DATABASE_NAME = 'myforum' > DATABASE_USER = 'root' > DATABASE_PASSWORD = 'myforum' > DATABASE_HOST = 'localhost' > DATABASE_PORT

Re: Setting Up Django on Vista and Creating a Database

2008-11-17 Thread John Antony
I have currently created a database with the following details: DATABASE_ENGINE = 'mysql' DATABASE_NAME = 'myforum' DATABASE_USER = 'root' DATABASE_PASSWORD = 'myforum' DATABASE_HOST = 'localhost' DATABASE_PORT = '' I used phpMyadmin to create the database I have updated C:\projects\myforum\sett

Re: Setting Up Django on Vista and Creating a Database

2008-11-13 Thread John Antony
Thank you Karen and Marcelo, I had actually not set the path for "django-admin.py". To set the Windows PATH in Vista click the following: Start>Control Panel>System>Advanced System Settings>Advanced>Environment Variable On Nov 13, 9:59 pm, Danny R <[EMAIL PROTECTED]> wrote: > John, > > Setting t

Re: Setting Up Django on Vista and Creating a Database

2008-11-13 Thread Danny R
John, Setting the paths in Vista is quirky. I also cannot make it work. As a workaround whenever I open a new command prompt, i do the following command: set path=C:\Python25\Lib\site-packages\django\bin\;C: \Python25\ then, when i create an app or a project, i do this instead:

Re: Setting Up Django on Vista and Creating a Database

2008-11-13 Thread Marcelo Barbero
You should search where your django-admin.py file is and include that folder to your path environment variable. But if you installed Django using the "python setup.py install" command, the file must be in your Scripts directory under the Python directory. Have you installed Django with "python se

Re: Setting Up Django on Vista and Creating a Database

2008-11-12 Thread John Antony
I have now used all your suggestions.. 1) Installed in C:\Python25\ (Marcelo Barbero) 2)Installed Python 2.5 instead of Python 2.6 (Karen Tracey) and finally 3)Added the environment variables in "path" (not PATH, should i create a new one named PATH) for both django and python. I installed d

Re: Setting Up Django on Vista and Creating a Database

2008-11-11 Thread Karen Tracey
On Tue, Nov 11, 2008 at 1:40 AM, John Antony <[EMAIL PROTECTED]> wrote: > > I am currently using Vista OS > I have installed Python in the path > D:\Python26\ > and extracted the tarred file downloaded from www.djangoprojects.com > ie "Django-1.0.tar.gz" in the path > D:\Python26\Django-1.0\Django

Re: Setting Up Django on Vista and Creating a Database

2008-11-11 Thread Steve Holden
John Antony wrote: > I am currently using Vista OS > I have installed Python in the path > D:\Python26\ > and extracted the tarred file downloaded from www.djangoprojects.com > ie "Django-1.0.tar.gz" in the path > D:\Python26\Django-1.0\Django-1.0 > I am however unable to intall Django > on typing

Re: Setting Up Django on Vista and Creating a Database

2008-11-11 Thread Steve Holden
John Antony wrote: > I am currently using Vista OS > I have installed Python in the path > D:\Python26\ > and extracted the tarred file downloaded from www.djangoprojects.com > ie "Django-1.0.tar.gz" in the path > D:\Python26\Django-1.0\Django-1.0 > I am however unable to intall Django > on typing

Re: Setting Up Django on Vista and Creating a Database

2008-11-11 Thread Marcelo Barbero
Have you tried to install into c:\python26 instead of d:\python26 ? 2008/11/11 John Antony <[EMAIL PROTECTED]>: > > I am currently using Vista OS > I have installed Python in the path > D:\Python26\ > and extracted the tarred file downloaded from www.djangoprojects.com > ie "Django-1.0.tar.gz" i

  1   2   >