Django, manage.py and Ubuntu

2010-01-19 Thread MauroCam
Hi, Please forgive the possibly daft question, but as an Ubuntu newbie I am going crazy with the following problem. I am seeing unexpected behaviour on our live production server, running Ubuntu, when I execute manage.py The site hosts two sites, the LIVE site and a mirror TEST site that we use

Re: Django, manage.py and Ubuntu

2010-01-19 Thread MauroCam
Thanks for the advice in the previous email. I will try the steps you suggest As for your other comment: > I might be missing something here but I thought that the manage.py > commands were looked for in the "management/commands" subdirectories of > INSTALLED_APPS. > > According to your email, th

Re: Django, manage.py and Ubuntu

2010-01-19 Thread MauroCam
; likely place to insert: > >         import pdb;pdb.set_trace() > > And step along to see how it's finding its files. > > Good luck. Bill > > On Tue, Jan 19, 2010 at 1:38 PM, MauroCam wrote: > > Hi, > > > Please forgive the possibly daft question, but a

Re: Django, manage.py and Ubuntu

2010-01-19 Thread MauroCam
Bill, see my replies below. > > Well, if sys.path is the same for both, they are both going to load > the same django. > > The exception to this is that, at least when python starts, the first > item o the path is > an empty string, representing the relative path to the current > directory (at s

Re: Django, manage.py and Ubuntu

2010-01-19 Thread MauroCam
nd('..') > import django > print django > > > I'm headed out soon, so I won't be able to comment further today. > > Bill > > On Tue, Jan 19, 2010 at 6:56 PM, MauroCam wrote: > > Bill, > > > see my replies belo

Re: Django, manage.py and Ubuntu

2010-01-20 Thread MauroCam
huge mistake. Hopefully in the coming weeks I can redress that. Thanks again. Mauro On 20 Jan, 16:25, Bill Freeman wrote: > On Tue, Jan 19, 2010 at 7:57 PM, MauroCam wrote: > > Bill, > > > thanks for all your help. I have fixed it by manually saving > > PYTHONPATH in.prof

Re: How Can I Create a User Group?

2010-03-02 Thread MauroCam
Hi, we have an init.py script that sets up all the baseline data. In it we create the necessary groups and assign the core admin users to the groups. from django.contrib.auth.models import Group as DjangoGroup gUsers = DjangoGroup(name='Users') gUsers.save() gGroup

Django and Online Payment Systems

2010-03-04 Thread MauroCam
Hi, has anyone got any pointers on good - preferably localisable - integrations between a Django web-site and online payment system? 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...@googl

PyCharm IDE - Anyone using it yet

2010-03-12 Thread MauroCam
Hi All, just discovered that JetBrains has recently recently a new IDE for Python which specifically supports Django. Having tried to use Eclipse for the past year, I can honestly say that I am desperate to find something new. Loads of people would trust their lives in Eclipse, but I just find i

QuerySet.Create Driving Me Mad

2010-04-28 Thread MauroCam
Enough! I have battled with this for the past few hours, but to no avail. I basically cannot get a QuerySet.Create or a model Save() to save some non mandatory URLField values. Below is the code cleaned up and commented, hoping I haven't cleaned up too much. Any help / explanation of what is wr