Re: django-admin.py startproject not working
Vista is very picky about permissions. Try running the command prompt as an administrator. On Sun, Dec 12, 2010 at 8:06 PM, codegal wrote: > I'm trying to create my first Django project, and I must be missing > something really basic. I'm using Windows Vista, and have installed > Python 2.7 and Django 1.2.3, put the location of django-admin.py into > my PATH variable, and navigated via command line to the location where > I want to create a project. I'm entering: > > django-admin.py startproject cms > > at the command line. I don't get an error, but I also don't get any > processing back - just a new prompt, and no project created in the > directory. Can't find any posts on the web regarding this issue... > > Thanks! > > -- > 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 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. > > -- 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 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.
Re: django-admin.py startproject not working
Another tip is to add *.py to the PATHEXT variable or the like. That will allow the script to be found on the path. I'm not sure if that's the right variable name, but check it out. On Dec 12, 2010, at 10:13 PM, codegal wrote: > Thanks. Good pointer for running python scripts in the future - will > follow as a matter of practice. > > As it turned out in this case, I just wasn't providing the full path. > I had set up a .pth file, and had tried copying django-admin.py into > the main Python directory, but it turned out that directory is not > assumed, and neither the PYTHONPATH nor the environmental variables > path gets checked when Python runs the command, so this (full path to > django-admin.py) is what finally worked for me: > > python C:/Python27/Scripts/django-admin.py startproject mysite > > > On Dec 12, 8:06 pm, Brad Reardon wrote: >> Vista is very picky about permissions. Try running the command prompt as an >> administrator. >> >> >> >> On Sun, Dec 12, 2010 at 8:06 PM, codegal wrote: >>> I'm trying to create my first Django project, and I must be missing >>> something really basic. I'm using Windows Vista, and have installed >>> Python 2.7 and Django 1.2.3, put the location of django-admin.py into >>> my PATH variable, and navigated via command line to the location where >>> I want to create a project. I'm entering: >> >>> django-admin.py startproject cms >> >>> at the command line. I don't get an error, but I also don't get any >>> processing back - just a new prompt, and no project created in the >>> directory. Can't find any posts on the web regarding this issue... >> >>> Thanks! >> >>> -- >>> 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 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.- Hide quoted text - >> >> - Show quoted text - > > -- > 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 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. > -- 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 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.
Re: default_if_none as settings (??)
If I understand correctly, then the solution would be to do something of this sort: (pardon the formatting) if value: {{value}} else: {{default_value}} Something of that sort *should* work, although I am not entirely sure. On Mon, Dec 13, 2010 at 4:00 AM, PyMan wrote: > Maybe I'm wrong but I remember about a setting whose I don't remember > the name...acting like a default for default_if_none where > default_if_none was not used. > > Example: > {{ value }} <-- I forgot about using the "default_if_none" filter > > If the setting I'm talking about is defined then its value is used > instead of "None" as string, if value is None. > > I haven't found any information about that setting in the current > documentation. If I really used that setting in the past, it was in > the 0.95/0.96 version. > > Thank you for your help. > > P.S. If the setting doesn't exist, how can I achive the same result > without using "default_if_none" everywhere? > > -- > 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 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. > > -- 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 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.
Django Donations App
Heya django-users, I have been working on a website for a client, and they are in need of an app that is for donations. Being no PayPal IPN-processing expert, I unfortunately do not know how to program an app that would display the names and amounts of the donations received. I have checked out django- donation, found on Launchpad, but it doesn't seem to perform the way I would like. If you would, could you guys provide me with a link to an app that does the functions I require? If not, documentation on the PayPal API would be nice, so that I could process the requests. One more thing; instead of the name of the person that had donated that PayPal provides, I would like for them to be able to input an alias. Thanks! Brad Reardon -- 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.