Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
+1 On Sun, Jan 1, 2012 at 9:49 AM, Bart Nagel wrote: > At 2011-12-31 18:56:14 -0800, Chris Kavanagh wrote: > > Ok I've had a breakthrough (I guess,lol). I started a command prompt > > from my Python Scripts folder (C:\Python27\Scripts\), typed in "Python > > django-admin.py startproject mysite",

Re: Django app for IP address lookup

2011-12-31 Thread Timothy Makobu
Thanks man. Happy new year! On Sun, Jan 1, 2012 at 9:33 AM, Addy Yeow wrote: > Here you go: > http://dazzlepod.com/ip/8.8.8.8.json > > On Sat, Dec 31, 2011 at 10:14 PM, Timothy Makobu < > makobu.mwambir...@gmail.com> wrote: > >> Thanks. >> >> Do you have an API for it yet? so we can do something

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 18:56:14 -0800, Chris Kavanagh wrote: > Ok I've had a breakthrough (I guess,lol). I started a command prompt > from my Python Scripts folder (C:\Python27\Scripts\), typed in "Python > django-admin.py startproject mysite", and it worked!! I now have the > "mysite" folder with appropria

Re: Django app for IP address lookup

2011-12-31 Thread Addy Yeow
Here you go: http://dazzlepod.com/ip/8.8.8.8.json On Sat, Dec 31, 2011 at 10:14 PM, Timothy Makobu < makobu.mwambir...@gmail.com> wrote: > Thanks. > > Do you have an API for it yet? so we can do something like > http://dazzlepod.com/ip/api/json/1x7.x37.8.xx and get the data in JSON? > > > On Sat,

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 18:47:13 -0800, Chris Kavanagh wrote: > Forgive my ignorance, but if that's the way it's supposed to work > (script must be in current dir) then how would Python know to run > django-admin.py if I'm NOT in the same directory it is > (Python27\Scripts\)??? In other words, the tutorial

Re: Happy new year

2011-12-31 Thread Hektor
This is last evening of 2011 Last sun of 2011 Has spread its shine On earth, Feel remaining Moments of last day, Scatter happiness Best of luck for 2012 On 1/1/12, girish shabadimath wrote: > New year wishes to everyone,, > > regards, > girish ms > On Sun, Jan 1, 2012 at 10:24 AM, Nikhil Verma >

Re: Happy new year

2011-12-31 Thread girish shabadimath
New year wishes to everyone,, regards, girish ms On Sun, Jan 1, 2012 at 10:24 AM, Nikhil Verma wrote: > Happy new year to all of you. > > > On Sun, Jan 1, 2012 at 10:22 AM, yati sagade wrote: > >> Happy new year all :) >> >> >> On Sun, Jan 1, 2012 at 7:54 AM, Adrien Lemaire < >> adrien.lema...@aq

Re: Happy new year

2011-12-31 Thread Nikhil Verma
Happy new year to all of you. On Sun, Jan 1, 2012 at 10:22 AM, yati sagade wrote: > Happy new year all :) > > > On Sun, Jan 1, 2012 at 7:54 AM, Adrien Lemaire < > adrien.lema...@aquasys.co.jp> wrote: > >> Happy new year dear folks ! >> >> On Jan 1, 1:48 am, Sławomir Zborowski wrote: >> > Happy

Re: Happy new year

2011-12-31 Thread yati sagade
Happy new year all :) On Sun, Jan 1, 2012 at 7:54 AM, Adrien Lemaire wrote: > Happy new year dear folks ! > > On Jan 1, 1:48 am, Sławomir Zborowski wrote: > > Happy new year, Django users :-) ! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" g

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
> > No, that's not wrong, that's how it should be. The python interpreter > is in your path, but you're telling the interpreter which file to run. > If you tell it to run a file args.py and there is no such file in the > current directory, it's correct to give you an error message. > > Does this l

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 7:00 pm, Chris Kavanagh wrote: > On Dec 31, 6:48 pm, Bart Nagel wrote: > > > > > > > > > > > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > > Ok, I CAN start the Python Interpreter from the command line by just > > > typing "python" then "enter". > > > > I saved the file "

Re: Happy new year

2011-12-31 Thread Adrien Lemaire
Happy new year dear folks ! On Jan 1, 1:48 am, Sławomir Zborowski wrote: > Happy new year, Django users :-) ! -- 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 fr

Re: USStateField default value

2011-12-31 Thread Mengu
hi erisa, please try passing "initial" instead of default. On 31 Aralık 2011, 23:52, Erisa wrote: > I wanted to have a select box for the state with California as the > default.  I first tried in my model the following: > > state = USStateField(blank=True, default='CA') > > This gave me the erro

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 16:00:44 -0800, Chris Kavanagh wrote: > On Dec 31, 6:48 pm, Bart Nagel wrote: > > Does this little script tell you correctly the number of arguments you > > pass to it? > > Yes, it tells me the number of args. Okay, in that case the arguments should also be getting to the django-a

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:48 pm, Bart Nagel wrote: > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > Ok, I CAN start the Python Interpreter from the command line by just > > typing "python" then "enter". > > > I saved the file "args.py" in the Python Scripts folder. When I try to > > run it from co

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:48 pm, Bart Nagel wrote: > At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > > > Ok, I CAN start the Python Interpreter from the command line by just > > typing "python" then "enter". > > > I saved the file "args.py" in the Python Scripts folder. When I try to > > run it from co

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 15:43:36 -0800, Chris Kavanagh wrote: > Ok, I CAN start the Python Interpreter from the command line by just > typing "python" then "enter". > > I saved the file "args.py" in the Python Scripts folder. When I try to > run it from command prompt, I get the message "python: can't open

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 6:18 pm, Bart Nagel wrote: > At 2011-12-31 15:01:39 -0800, Chris Kavanagh wrote: > > > > > > > > > > > On Dec 31, 11:58 am, Bart Nagel wrote: > > > What about other Python programs? Do they have the same problem? > > > > Put this next paragraph in a file and run it with different num

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 15:01:39 -0800, Chris Kavanagh wrote: > On Dec 31, 11:58 am, Bart Nagel wrote: > > What about other Python programs? Do they have the same problem? > > > > Put this next paragraph in a file and run it with different numbers of > > arguments and see what happens. > > > > import sys >

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 12:38 pm, Ramiro Morales wrote: > On Fri, Dec 30, 2011 at 4:04 PM, Chris Kavanagh wrote: > > >>   C:\python27\python C:\path\to\django-admin startproject foo > > >> or, if you have C:\python27 in the PATH, simply: > > >>   python C:\path\to\django-admin startproject foo > > > Thanks

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 11:58 am, Bart Nagel wrote: > At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > > > File associations are fine i reckon, because django-admin is giving you the > > help message because for some reason it thinks you're *giving it improper > > input*. > > What about other Python pro

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 11:47 am, Timothy Makobu wrote: > Hi, > > File associations are fine i reckon, because django-admin is giving you the > help message because for some reason it thinks you're *giving it improper > input*. > >So, you're saying you don't believe this is the problem (File Associations)??

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 12:13 pm, Andre Terra wrote: > This has been answered before: > > http://groups.google.com/group/django-users/browse_thread/thread/9d53... > > Cheers, > AT > > > Yes, I saw that thread, and I tried changing my registry as suggested. And > the other 'work around'. Neither worked. > >

USStateField default value

2011-12-31 Thread Erisa
I wanted to have a select box for the state with California as the default. I first tried in my model the following: state = USStateField(blank=True, default='CA') This gave me the error "TypeError: __init__() got an unexpected keyword argument 'default'". But the following works (i.e., Califor

Re: Django dev/deploy environment for distributed agile teams

2011-12-31 Thread Denis Darii
Hi Ashkan, You can take a look at our project: django-fagungis = DJANGO + FAbric + GUnicorn + NGInx + Supervisor deployment Here: https://bitbucket.org/DNX/django-fagungis/ We use it for the same purpose as you described. If you have some questions, suggestions or ideas about and for the project f

Re: Happy New Year – Django on display in Times Square!

2011-12-31 Thread Oleg Korsak
awesome! 2011/12/31 Jason Ford : > Our app, FeedMagnet (built in Django!) gathers content from social > networks in real-time, curate the feed, and then display it. All day > today, FeedMagnet is powering the Verizon screen in Times Square > (running on the giant MTV HD display) – showing real-tim

Happy New Year – Django on display in Times Square!

2011-12-31 Thread Jason Ford
Our app, FeedMagnet (built in Django!) gathers content from social networks in real-time, curate the feed, and then display it. All day today, FeedMagnet is powering the Verizon screen in Times Square (running on the giant MTV HD display) – showing real-time posts from Facebook, G+, and Twitter, pl

Happy new year

2011-12-31 Thread Sławomir Zborowski
Happy new year, Django users :-) ! -- 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

Re: Django dev/deploy environment for distributed agile teams

2011-12-31 Thread Paul Msegeya
sounds good...Happy new year too. On Sat, Dec 31, 2011 at 10:25 PM, Ashkan Roshanayi < ashkan.roshan...@gmail.com> wrote: > Hi everybody, we are working in a geographically distributed agile team. I > am trying to design and configure our development environment and > deployment procedures and ne

Django dev/deploy environment for distributed agile teams

2011-12-31 Thread Ashkan Roshanayi
Hi everybody, we are working in a geographically distributed agile team. I am trying to design and configure our development environment and deployment procedures and need to know about your valuable experiences. My requirements are: * Each new developer can kick-start developing: dev environme

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Ramiro Morales
On Fri, Dec 30, 2011 at 4:04 PM, Chris Kavanagh wrote: >> >>   C:\python27\python C:\path\to\django-admin startproject foo >> >> or, if you have C:\python27 in the PATH, simply: >> >>   python C:\path\to\django-admin startproject foo >> > > Thanks for the reply, however it didn't work. I get the e

Re: Django app for IP address lookup

2011-12-31 Thread Nikhil Verma
Nice app .Can you share the source code.It will be good. Happy new Year On Sat, Dec 31, 2011 at 5:20 PM, Addy Yeow wrote: > Hi guys, > > Just sharing a simple Django app that allows you to do IP address lookup: > http://dazzlepod.com/ip/ > > Happy new year! > > -- > You received this message be

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Andre Terra
This has been answered before: http://groups.google.com/group/django-users/browse_thread/thread/9d5352d7921e0eb4?hl=en# Cheers, AT On Sat, Dec 31, 2011 at 2:58 PM, Bart Nagel wrote: > At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > > File associations are fine i reckon, because django-

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 19:47:35 +0300, Timothy Makobu wrote: > File associations are fine i reckon, because django-admin is giving you the > help message because for some reason it thinks you're *giving it improper > input*. What about other Python programs? Do they have the same problem? Put this next pa

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Timothy Makobu
Hi, File associations are fine i reckon, because django-admin is giving you the help message because for some reason it thinks you're *giving it improper input*. On Sat, Dec 31, 2011 at 7:40 PM, Chris Kavanagh wrote: > While looking for a solution, I found someone with a similar problem. > he t

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Bart Nagel
At 2011-12-31 08:40:26 -0800, Chris Kavanagh wrote: > While looking for a solution, I found someone with a similar problem. > he thought there was a problem with the way Python Files are > associated. So I did what was suggested on the command line, using > "assoc.py" and ftype Python.File. What I

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
While looking for a solution, I found someone with a similar problem. he thought there was a problem with the way Python Files are associated. So I did what was suggested on the command line, using "assoc.py" and ftype Python.File. What I got back is listed below. I don't think this is right accord

Re: django-admin.py startproject will NOT work.

2011-12-31 Thread Chris Kavanagh
On Dec 31, 10:19 am, Dennis Lee Bieber wrote: > On Fri, 30 Dec 2011 16:36:32 -0800 (PST), Chris Kavanagh > > wrote: > >> I'm not sure you'll be able to see the screenshot at the link, it's very > >> small. So, here's a copy/paste of it from my command prompt: > > >C:\Documents and Settings\mys

"syncdb --database=xxx" not working

2011-12-31 Thread Andreas Pfrengle
Hello, I've tried to setup a project that supports two different databases, a postgres-db and a mysql-db. The DATABASES-setting is configured properly with a 'default' key for the mysql-db and 'pg' for the postgres. However, if I try to syncdb the postgres-db, manage.py accesses the 'default' mysq

Re: Django app for IP address lookup

2011-12-31 Thread Timothy Makobu
Thanks. Do you have an API for it yet? so we can do something like http://dazzlepod.com/ip/api/json/1x7.x37.8.xx and get the data in JSON? On Sat, Dec 31, 2011 at 4:09 PM, yati sagade wrote: > Nice app :) can you share the sources? And happy new year to you, too! > > > On Sat, Dec 31, 2011 at

Re: Django app for IP address lookup

2011-12-31 Thread yati sagade
Nice app :) can you share the sources? And happy new year to you, too! On Sat, Dec 31, 2011 at 5:20 PM, Addy Yeow wrote: > Hi guys, > > Just sharing a simple Django app that allows you to do IP address lookup: > http://dazzlepod.com/ip/ > > Happy new year! > > -- > You received this message beca

Django app for IP address lookup

2011-12-31 Thread Addy Yeow
Hi guys, Just sharing a simple Django app that allows you to do IP address lookup: http://dazzlepod.com/ip/ Happy new year! -- 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

Re: Managers of related fields

2011-12-31 Thread Sebastian Goll
On Fri, 30 Dec 2011 19:37:54 -0800 (PST) Daniel Kaplun wrote: > I have Articles that refer to Authors using > ForeignKey(related_name='articles'). Given an Author author, I'd like > to be able to use the default manager for author.articles, but I'd > also like to have author.published_articles, u

Re: Unable to display static content.

2011-12-31 Thread Jisson Varghese
use {{STATIC_URL}} in place of {{MEDIA_URL}} and keep STATIC_ROOT =' ' in settings page. refer : https://docs.djangoproject.com/en/dev/howto/static-files/ On Sat, Dec 31, 2011 at 7:42 AM, Chirdeep wrote: > Hi All, > > I am just learning Python and Django. I am able to see the webpage but > css