cx_Oracle seems to be DB-API compliant, no need to stuff about with
those pesky oracle data-dictionary views. I did this:
def get_table_description(cursor, table_name):
"should return a DB-API cursor.description alike sequence"
cursor.execute("SELECT * FROM %s WHERE 1=2" %
Hi guys,
I need to install a django app onto a client's cpanel box. I have root
access and can install whatever's needed. But the trouble is that
cpanel still uses Apache 1.3 (ugh). And to make matters worse, it uses
Apache 1.3 without the mod_proxy module.
I can't install Apache2 without
Fredrik Lundh wrote:
>
> possible explanation:
>
> http://code.djangoproject.com/ticket/1154
>
>
I am not entirely sure what a server side include is. I am not creating
any shtml files, though.
--~--~-~--~~~---~--~~
You received this message because you are
On 9/14/06, frooyo <[EMAIL PROTECTED]> wrote:
>
> I have two questions about Django.
>
> 1. Does anyone know if Pythons Psyco performance improver works with
> django? http://psyco.sourceforge.net/
I'd be surprised. Psyco does best on heavy numeric operations.
>
> I'm not asking these
On Thu, 2006-09-14 at 19:59 -0500, James Bennett wrote:
> On 9/14/06, Picio <[EMAIL PROTECTED]> wrote:
> > Which version of sqlite django support?
>
> The Python module used by Django to connect to SQLite databases does
> not support versions of SQLite older than 3.0.
You are going to see aone
On 9/15/06, Vizcayno <[EMAIL PROTECTED]> wrote:
> But some steps before, Assuming I created the first five records only,
> screen for creation of Carla will show:
> Data2 ->: Carla
> Data4 ->:Choice Maria, Jose or David (only 3 are shown in data4
> because of the Data3 field condition
On 9/14/06, frooyo <[EMAIL PROTECTED]> wrote:
> 2. Does Django use prepared statements and/or create and use stored
> procedures when interacting with a database?
No, it does not.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
On 9/15/06, Picio <[EMAIL PROTECTED]> wrote:
>
> Hello,
> If my project dir is /home/picio/blog
> (where I have __init__.py, models and the other stuff)
> what I have to set for DJANGO_SETTINGS_MODULE = ?
>
> Thanks.
> Picio
>
There should be a file named settings.py, and this will automaticly
On 9/14/06, Picio <[EMAIL PROTECTED]> wrote:
> Which version of sqlite django support?
The Python module used by Django to connect to SQLite databases does
not support versions of SQLite older than 3.0.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
Russel:
Thanks for your attention. I send you an example
Assuming the model:
class Tab1(models.Model):
data1 = models.CharField(maxlength=10)
data2 = models.CharField(maxlength=50)
data3 = models.BooleanField(default=False)
data4 = models.ManyToManyField('self', null=True,
On 9/15/06, Vizcayno <[EMAIL PROTECTED]> wrote:
>
> I need to assume the symmetrical=True and at the same time keep the
> condition limit_choices_to={'data3__exact': True}, however when, for
> example, I modify data1 or data2 and the corresponding record has
> data3=true and is related to another
Hello,
If my project dir is /home/picio/blog
(where I have __init__.py, models and the other stuff)
what I have to set for DJANGO_SETTINGS_MODULE = ?
Thanks.
Picio
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
OK done it works well.
I've tried also:
python manage.py runfcgi help
and It went well.
Thanks a lot.
Picio
2006/9/14, Ivan Sagalaev <[EMAIL PROTECTED]>:
>
> Picio wrote:
> > Thanks Ivan, just done the install.
> > Is there a quick way to verify it's ok or do I have just to finish to
> > read
Hello,
reading the documentation I saw that django has support for sqlite3,
does this means that I can use it (also) with sqlite2 version 2.8.16-1?
In other words does Django support earlier versions of sqllite?
If I pose thee wrong question, just in few word:
Which version of sqlite django
Patrick J. Anderson wrote:
> class ExchangeRate(models.Model):
> company = ForeignKey(Company)
> source = ForeignKey(Currency, related_name = 'source')
> destination = ForeignKey(Currency, related_name = 'destination')
> rate = FloatField(max_digits = 10, decimal_places = 2)
>
Picio wrote:
> Thanks Ivan, just done the install.
> Is there a quick way to verify it's ok or do I have just to finish to
> read the doc at
> http://www.djangoproject.com/documentation/fastcgi/ ?
The usual thing for any python library: go to python prompt and run
'import flup'. If there are
I have two questions about Django.
1. Does anyone know if Pythons Psyco performance improver works with
django? http://psyco.sourceforge.net/
2. Does Django use prepared statements and/or create and use stored
procedures when interacting with a database?
I'm not asking these questions
I'm not totally clear, perhaps it's a Python and not Django-specific
question, but in my e-commerce app model, I have Currency and
ExchangeRate classes:
class Currency(models.Model):
name = models.CharField(maxlength = 50)
code = models.CharField(maxlength = 3)
class Meta:
i would like to find resources for these, pls give me pointers
1) USING webpy + ajax -
2) file uploads
3) better explanation of how to handle ENCODING utf
4) Caching techniques.
5) Geolocating.
7) Email + a mail queue. + Import email addressbooks
8) Ajax snipplets + webpy code.
9). Persistant
Thanks Ivan, just done the install.
Is there a quick way to verify it's ok or do I have just to finish to
read the doc at
http://www.djangoproject.com/documentation/fastcgi/ ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Picio wrote:
> Hello,
> I have a very cheap and small home webserver that uses lighttpd + fastcgi.
> I've read http://www.djangoproject.com/documentation/fastcgi/
> but I don't understand how to install and use "flup".
This is a Python library that you can get here:
Hello,
I have a very cheap and small home webserver that uses lighttpd + fastcgi.
I've read http://www.djangoproject.com/documentation/fastcgi/
but I don't understand how to install and use "flup".
Can someone point me in the right direction or provide me a little guide?
Of course django is
Indeed, resizing the window wakes it back up. Many thanks for the tip--lets me
keep using FF on the Mac!
Sorry for the off-topic post--the only place I'd see this was in Django admin.
Cheers!
--
David Hancock | [EMAIL PROTECTED] | 410-266-4384
-Original Message-
From:
On 9/14/06, Hawkeye <[EMAIL PROTECTED]> wrote:
> Obviously that syntax isn't valid, but does something exist to allow
> that sort of logic?
http://www.djangoproject.com/documentation/db_api/#complex-lookups-with-q-objects
--
"May the forces of evil become confused on the way to your house."
Is is possible to make use of boolean logic in QuerySet filters?
Say I have two dates:
my_model.foo_date
my_model.bar_date
I'd like to do my_model.objects.filter(foo_date__gt=somedate OR
bar_date__gt=somedate)
Obviously that syntax isn't valid, but does something exist to allow
that sort of
On 14/09/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
> On 14-Sep-06, at 2:56 PM, [EMAIL PROTECTED] wrote:
>
> > As i'm still rather new to this django stuff, here is my simple
> > question:
> > Is it possible to install django on an alien server?
>
> as long as you have shell access you
Hancock, David (DHANCOCK) wrote:
> The hang scenario is loading the add or change page for a Trip, click in a
> textbox, and that particular Window of Firefox goes dead (mouse pointer
> doesn¹t change at all, no clicks have any effect). Other windows of Firefox
> are unaffected, but all tabs in
Hi,
On 9/12/06, Phil <[EMAIL PROTECTED]> wrote:
> When I render index.html, the special character from base.html are
> rendered normaly but the ones from index.html are shown as '?'.
Make sure that the editor you are using is writing your files to disk
with the correct encoding.
Hello:
I have next model:
class Tab1(models.Model):
data1 = models.CharField(maxlength=1)
data2 = models.CharField(maxlength=5)
data3 = models.BooleanField(default=False)
data4 = models.ManyToManyField('self', null=True, blank=True,
filter_interface=models.HORIZONTAL,
On 9/14/06, Marcin Jurczuk <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I'm trying to make my own validator which require access to models:
> class Network(Model):
> city =
> CharField('Miejscowosc',maxlength=128,default='Bialystok')
> description = CharField('Opis',maxlength=128)
>
Cheers,
> It's not totally clear to me why i would want to go the way of creating code
> & using manipulators
> if all that can be done automatically :)
It can indeed be automatically done for an object creation. But what
about sending a mail? Or what about a form involving two models? Or
made
I highly recommend you subscribe to Dreamhost's status RSS feed
(http://www.dreamhoststatus.com/feed/).
They've been having some well documented network and system issues
recently, and have recently done a bunch of *massive* hardware
swaps/upgrades to solve the problems.
I was seeing horrible
Hi,in the "docs forms, fields, and manipulators" documentation,it's stated that you can't have the forms automatically created so you need to createyour own forms.In there there's an example that deals with a view & manipulators and a template.
However, if you use
Title: Admin app (one class) hanging Firefox on Mac OS X
Possibly off-topic, sorry. I have a model that reliably hangs Firefox on Mac OS X (but not Safari on Mac, not IE on Windows, not Firefox on Windows). The hang scenario is loading the add or change page for a Trip, click in a textbox, and
Ok Russ, I'll try with SVN version.
Thanks for all
--
Richard Rossel
Valparaiso, Chile
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On 9/14/06, Henhiskan <[EMAIL PROTECTED]> wrote:
>
> Hi Magee,
> That was what I thought at the begining, but I read the option
> --noinput in 0.95 documentation.
Ah - it looks like we might need to branch the documentation for v0.95
(in the same way we did for v0.91 and v0.90). Apologies for
Thank you, that was the solution. site-packages/ was in the path, but I added
site-packages/django and now everything's working great.
Adam
-Original Message-
From: django-users@googlegroups.com on behalf of James Bennett
Sent: Thu 9/14/2006 12:45 AM
To: django-users@googlegroups.com
On 9/14/06, Gniss <[EMAIL PROTECTED]> wrote:
> else:
> errors = {}
> new_data = specimen.__dict__
This last line is the problem. If you replace it with:
new_data = manipulator.flatten_data()
you should get the preselected items shown on the select widget.
Having a
On 9/14/06, Henhiskan <[EMAIL PROTECTED]> wrote:
>
> Hi fellows,
>
> How can I run manage.py syncdb without ask me for a user admin.
> I try with manage.py syncdb --noinput but didn't work.
Hi Richard
I just tried this; both
manage.py syncdb --noinput
manage.py --noinput syncdb
work fine for
"Atayal" <[EMAIL PROTECTED]> wrote:
> When I open my browser for http://192.168.0.22/photoalbum/helloworld/
>
> I run into the following error message:
> TypeError: putenv() argument 2 must be string, not list
> ===
>
> I am on Debian,
Hello,
I'm trying to make my own validator which require access to models:
class Network(Model):
city =
CharField('Miejscowosc',maxlength=128,default='Bialystok')
description = CharField('Opis',maxlength=128)
network_ip = IPAddressField(unique=True)
network_prefix =
I use Windows at home for video and audio editing, and getting Django
things to work on there can be annying at times - its usually file
paths to python, and things like #!/bin/env and all that, and whether
you run from cygwin or DOS shell. Aaargh, the horror. I wrote my poker
blog at home on
Yeah... I added a comment to the docs, but
"default-storage-engine=innodb" is the way that I configured it, and it
works.
Thanks for the feedback though.
--Ben
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I am new to Django. I have done a new project called photoalbum in the
DocumentRoot directory and created a helloworld.py in the photoalbum
directory, and add a following line in urls.py
(r'^helloworld/', 'helloworld.index')
When I open my browser for
Hi,
Thanks for all your answers. I have found them all useful.
I am studying right now the code and the Jeff Lost-Theories code (and
will look fo other examples in other projects). It is indeed a very
helpful example! I will try to write a bit about what I find.
Baxter, concerning the Karma
On 14-Sep-06, at 3:57 PM, Jyrki Pulliainen wrote:
>> hi,
>> i find that django doesnt seem to have finnish. Is anyone working on
>> it? If not I will have to get it done.
>
> I'd be interested to review it as soon as you get your hands on it.
> Perhaps I could contribute some time to it, but I
On 9/14/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> hi,
> i find that django doesnt seem to have finnish. Is anyone working on
> it? If not I will have to get it done.
I'd be interested to review it as soon as you get your hands on it.
Perhaps I could contribute some time to it, but I
hi,
i find that django doesnt seem to have finnish. Is anyone working on
it? If not I will have to get it done.
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are
On 14-Sep-06, at 2:56 PM, [EMAIL PROTECTED] wrote:
> As i'm still rather new to this django stuff, here is my simple
> question:
> Is it possible to install django on an alien server?
as long as you have shell access you can do so
--
regards
kg
http://lawgon.livejournal.com
As i'm still rather new to this django stuff, here is my simple question:
Is it possible to install django on an alien server?
Alien in the meaning of having it hosted by a provider.
Similar to having mambo or phpbbs or what have you in php flavored
systems.
thanks!
Floris van Manen
Dreamhost has come up a fair few times for funkiness issues, with Django.
Personally, I moved my business web site (still coming) to webfaction, and
that's where I get my clients hosted too. The support is excellent and
understands django, and there haven't been flakiness issues.
Dreamhost is
i dont understand patches
i ll appreciate if you can send me the html file
thanks
SmileyChris wrote:
> How about slicing to 1000 (or however much you want to be safe that
> you'll get 200 of non-tags), then strip, then slice down to 200.
>
> For a slightly different approach there is a patch I
The real solution and patch: http://code.djangoproject.com/ticket/2727/
--~--~-~--~~~---~--~~
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
On 14-Sep-06, at 1:48 PM, brian corrigan wrote:
> The only problem I came across with the Mac (iBook) was that there is
> no c compiler installed. You can download xcode tools
it is there on the install CD, but not in the default install
--
regards
kg
http://lawgon.livejournal.com
Hello!
We have a simple web application hosted on dreamhost.com. Our customer
has started complaining about some intermittent problems. This happens
most of the time between 9am - 11am PDT. From the error e-mails
received I see that the server raises a ViewDoesNotExist exception,
but with
Fortunately the xcode tools is on the install DVD for the newer OSX
versions.
>
> The only problem I came across with the Mac (iBook) was that there is
> no c compiler installed. You can download xcode tools (I think) from
> the apple developer site which will give you gcc. The problem is
brian corrigan schrieb:
> The only problem I came across with the Mac (iBook) was that there is
> no c compiler installed. You can download xcode tools (I think) from
> the apple developer site which will give you gcc. The problem is that
> xcode is about a 1GB (latest
The only problem I came across with the Mac (iBook) was that there is
no c compiler installed. You can download xcode tools (I think) from
the apple developer site which will give you gcc. The problem is that
xcode is about a 1GB (latest realease). Takes a while to download.
Other than that
On 13-Sep-06, at 8:51 PM, Eric Walstad wrote:
> was that there were some differences in the capabilities of the Mac
> Python
do you have to use Mac Python? Cant you install the standard python
like on other BSDs?
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
59 matches
Mail list logo