bump
On Jul 31, 2:53 pm, Greg <[EMAIL PROTECTED]> wrote:
> Russ,
> Ha...sorry I'm such a idiot.
>
> I think I got in now (If not...you might need to help me find it).
>
> My Zip file that I downloaded is labeled sqlite-3_3_15. Is that what
> you need?
>
> Sorry about this confusion Russ
>
> Than
Russ,
Ha...sorry I'm such a idiot.
I think I got in now (If not...you might need to help me find it).
My Zip file that I downloaded is labeled sqlite-3_3_15. Is that what
you need?
Sorry about this confusion Russ
Thanks
On Jul 31, 9:10 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> O
On 7/31/07, Greg <[EMAIL PROTECTED]> wrote:
>
> pysqlite2.3.3
That's just the binding. What version of SQLite itself?
Russ %-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
Russ,
pysqlite2.3.3
On Jul 30, 7:20 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/31/07, Greg <[EMAIL PROTECTED]> wrote:
>
>
>
> > I guess I have v3. In my settings.py file i have:
>
> > DATABASE_ENGINE = 'sqlite3'
>
> That's just what your settings file says. This setting could re
On 7/31/07, Greg <[EMAIL PROTECTED]> wrote:
>
> I guess I have v3. In my settings.py file i have:
>
> DATABASE_ENGINE = 'sqlite3'
That's just what your settings file says. This setting could read
sqlite3 even if you don't have sqlite installed.
Yours
Russ Magee %-)
--~--~-~--~~
Russ,
I guess I have v3. In my settings.py file i have:
DATABASE_ENGINE = 'sqlite3'
On Jul 30, 6:57 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/31/07, Greg <[EMAIL PROTECTED]> wrote:
>
>
>
> > Russ,
> > I'm using SQLite version - 0.99svn. And here is my django info
>
> Ermm.. a
On 7/31/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Russ,
> I'm using SQLite version - 0.99svn. And here is my django info
Ermm.. are you sure? Django requires v3 of SQLite, and pysqlite v2
bindings... I can't even think where you would get a subversion
release of SQLite 0.99. If you really _do_ hav
Russ,
I'm using SQLite version - 0.99svn. And here is my django info
C:\Python24\Lib\site-packages\django>svn info
Path: .
URL: http://code.djangoproject.com/svn/django/trunk/django
Repository Root: http://code.djangoproject.com/svn
Repository UUID: bcc190cf-cafb-0310-a4f2-bffc1f526a37
Revision:
On 7/30/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Russell,
> I'm using sqlite
>
> DATABASE_ENGINE = 'sqlite3'
Hrm. I don't get this problem with sqlite, either; b.timestamp returns
a datetime object for me.
It is possible this might be a problem specific to sqlite on Windows -
I don't currently ha
Russell,
I'm using sqlite
DATABASE_ENGINE = 'sqlite3'
I can't seem to find out what django revision I have. I ran 'svn
info' from c:/django however it said 'svn: '.' is not a working copy'
On Jul 30, 6:49 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/30/07, Greg <[EMAIL PROTECT
On 7/30/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Russ,
> Here is what I get with I use 'python manage.py shell'
...
> >>> b.timestamp
> u'2007-07-29'
Ok - this is interesting. This should be a datetime object. This
suggests a problem with the database backend.
I've just tried what you've sent me
Russ,
Here is what I get with I use 'python manage.py shell'
>>> b = Orders.objects.get(pk=1)
>>> b.s_name
u'Bob Smith''
>>> b.timestamp
u'2007-07-29'
>>>
No errors when I access the timestamp property from within the python
shell.
On Jul 30, 12:00 am, Greg <[EMAIL PROTECTED]> wrote:
> Russ,
>
Russ,
Here is my view:
def success(request):
f = processpay(request)
if f == 'True':
pr = theamount(request)
o = Orders()
o.timestamp = datetime.now()
o.s_name = 'Bob Smith'
o.s_address = '18sdf est 15
Russ,
Here is my Orders Class:
class Orders(models.Model):
timestamp = models.DateField()
b_name = models.CharField("Billing Name", maxlength=100)
b_address = models.CharField("Billing Address", maxlength=100)
b_city = models.CharField("Billing City", maxlength=100)
b_state =
Russ,
Here is my traceback:
Traceback (most recent call last):
File "c:\Python24\lib\site-packages\django\core\handlers\base.py" in
get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "c:\Python24\lib\site-packages\django\contrib\admin\views
\decorators.py" in
On 7/30/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Russ,
> I tried including the code that you recommended. However, I'm still
> getting the same error:
>
> AttributeError at /admin/rugs/orders/1/
> 'unicode' object has no attribute 'strftime'
Just to clarify - If you create, modify and save an obj
Russ,
I tried including the code that you recommended. However, I'm still
getting the same error:
AttributeError at /admin/rugs/orders/1/
'unicode' object has no attribute 'strftime'
///
I updated my view to include the following lines:
from datetime import datetime
...
o.timestam
On 7/30/07, Greg <[EMAIL PROTECTED]> wrote:
>
> Ok,
> I just added a Field in my Orders class. It looks like this:
...
> Do I need to put something into my timestamp field when I create the
> Orders instance? For example:
Yes; your field is a required field, so you will need to provide
timestam
Ok,
I just added a Field in my Orders class. It looks like this:
timestamp = models.DateField("Creation Date")
//
I create a new instance of the order class below:
o = Orders()
o.s_name = 'Greg Smith'
o.s_address = '123 West Main'
19 matches
Mail list logo