Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-30 Thread Jon Blake
Just discovered Django and trying out the Django 1.4 tutorial with an Oracle backend database. In my database, I have created user django with privs create session, create table, create sequence, create trigger. The DATABASES dictionary in settings has been edited to set the default settings to

Re: Instaling django

2012-08-30 Thread Jon Blake
What O/S? I installed Django 1.4.1 today on my Linux F14 box today by: 1. Downloading Django-1.4.1.tar.gz from https://www.djangoproject.com/download/ 2. As root: # tar xzvf Django-1.4.1.tar.gz # cd Django-1.4.1 # python setup.py install # exit 3. Test it: $ python >>> import django >>> print dj

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
Thanks, Ian and Amyth, for your responses. I encountered the CREATE TRIGGER privilege issue early in my trials with Django with the Oracle database back end - Django propagated an Oracle "insufficient privileges" exception. That was quickly sorted by granting the required privilege to my user a

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
Again, many thanks. I'm on my way with Django - looking like a great framework! Jon On Saturday, September 1, 2012 2:03:42 PM UTC+10, Jon Blake wrote: > > Thanks, Ian and Amyth, for your responses. > > I encountered the CREATE TRIGGER privilege issue early in my trials with &

Re: Syncdb Error With Oracle Database - IntegrityError Exception

2012-08-31 Thread Jon Blake
Thanks, Ian, I did miss that. Bookmarked for future reference. On Saturday, September 1, 2012 3:16:38 PM UTC+10, Ian wrote: > > On Fri, Aug 31, 2012 at 10:03 PM, Jon Blake > > wrote: > > Querying column timestamp of view user_objects for tables, sequences and > > trigge

How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
I've worked through parts 1 and 2 of the tutorial using the development server, and I have reviewed the doco on how to use Django with Apache and mod_wsgi. I want to trial a production environment on my Fedora 14 dev box, but the provided instructions assume some familiarity with configuring the

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
iable-ops-deploying-your-first-django-app-to > > Have a look at this post. I followed it friday and now have a working > django install on ubuntu. Steps should be almost the same for fedora. > > Mike > > > On Sep 3, 2012, at 1:01 AM, Jon Blake > > wrote: > > I&#x

Re: How to Set Up for Apace and Mod_wsgi

2012-09-02 Thread Jon Blake
doesn't appear to be turning on, I would suggest > googling how to turn on mod_php as it should be the same type of thing I > would assume. > > Mike > > > On Sep 3, 2012, at 2:36 AM, Jon Blake > > wrote: > > Thanks, Mike, that fills in the gaps. >

Can't Find libclntsh.so.11.1 With Oracle Backend

2012-09-09 Thread Jon Blake
I have worked through the Django tutorial parts 1 and 2 with an Oracle back end using the development server. Everything worked fine. I now want to use a real server - Apache + mod_wsgi. I've got to the point where I get an "Improperly Configured at /" page, which shows the following: Exception

Re: Can't Find libclntsh.so.11.1 With Oracle Backend

2012-09-09 Thread Jon Blake
Just an edit to my original post: ... but this does *not* resolve my problem. Sorry for any confusion. On Monday, September 10, 2012 2:41:00 PM UTC+10, Jon Blake wrote: > > I have worked through the Django tutorial parts 1 and 2 with an Oracle > back end using the development server. E

Re: Django Tutorial

2012-09-09 Thread Jon Blake
Hi David, you might have stumbled over a problem I had when I first tried out the tutorial a week ago. I'm using an Oracle database back end, and on my first try of python manage.py syncdb, I also missed the prompt to create a superuser account. The problem was finally identified as a missing p

Re: Can't Find libclntsh.so.11.1 With Oracle Backend

2012-09-10 Thread Jon Blake
, Ian >wrote: > >> On Sunday, September 9, 2012 10:41:00 PM UTC-6, Jon Blake wrote: >>> >>> It looks like I have to tell my app what my path to libclntsh.so.11.1 >>> is. I have added: >>> >>> os.environ['LD_LIBRARY_PATH'] = '/

Cant Import mysite.urls

2012-09-10 Thread Jon Blake
Working through getting Django to work with Apache, mod_wsgi and Oracle database back end. When I enter my site URL, I get a "ImportError at /" page, with an exception value of "No module named mysite.urls". Part 3 of the tutorial refers to line ROOT_URLCONF = 'mysite.urls', which I have in my

Re: Cant Import mysite.urls

2012-09-10 Thread Jon Blake
On Monday, September 10, 2012 8:29:12 PM UTC-3, Jon Blake wrote: >> >> Working through getting Django to work with Apache, mod_wsgi and Oracle >> database back end. When I enter my site URL, I get a "ImportError at /" >> page, with an exception value of "No

Re: Possible spam from mailing list? ("China Mobile")

2012-09-12 Thread Jon Blake
I've had a coup[le of these, now. On Tuesday, September 11, 2012 5:27:59 AM UTC+10, Kurtis wrote: > > I just received a very unusual e-mail that included a recent post's > subject. The post in question was: "Re: form doesn't validate when trying > to upload file". It was sent directly to my emai

Re: How to Set Up for Apace and Mod_wsgi

2012-09-12 Thread Jon Blake
to how to get my Django tutorial app running from a production server. Any advice appreciated! My background is Oracle DBA/development + Python. Very little experience with configuring Apache. Regards, Jon On Friday, September 7, 2012 4:43:09 PM UTC+10, Jon Blake wrote: > > On 09/03/2

Re: Cant Import mysite.urls

2012-09-13 Thread Jon Blake
quot;out of the box" after a good night's sleep. Now to get serving the admin files to work... On Wednesday, September 12, 2012 9:37:56 AM UTC+10, patrick wrote: > > On Tuesday, September 11, 2012 1:44:22 AM UTC-3, Jon Blake wrote: >> >> Thanks, Patrick. My refere