Hello everyone,
I'm new to django and also new in the group, I wanted to know how to solve
circula import errors. here is a screenshot of the error from the terminal.
Any reply about that will be helpful, thank you
--
You received this message because you are subscribed to the Google Groups
"
se Pass or
> failed)
resp.content.decode('string_escape') will convert it to encoded bytes.
Then another decode() with the correct encoding will get you Unicode.
I'm not sure what the correct encoding is for the second decode(),
most likely one of 'utf-8', 'utf_1
shabda wrote:
> I have tried to write a Django tutorial for Appengine.
> A live install of this can be seen at http://blogango.appspot.com
I get a 403 Forbidden when I try to vote...
Kent
--~--~-~--~~~---~--~~
You received this message because y
/imported, so it gives a NameError.
log_exception is defined immediately above the line you quote:
def log_exception(*args, **kwds):
logging.exception('Exception in request:')
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscr
should be created, or is all this done behind the
> scenes when using TestCase?
Using unittest.TestCase I do this in setUp(), rather than tearDown, so I
know the test starts with a clean table.
Kent
--~--~-~--~~~---~--~~
You received this message becaus
rking in the shell, or when performing multiple updates that
don't have to succeed or fail as a group
- no effect when inside an explicit (managed) transaction
Thanks,
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
y own model's save(), as
indicated above?
Thanks,
Kent
--~--~-~--~~~---~--~~
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 unsubsc
Jan Rademaker wrote:
> There is an undocumented class called QNot which resides in
> django.db.models.query.
That is just what I was looking for. Thanks!
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
ve
either of the above examples.
Kent
--~--~-~--~~~---~--~~
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 grou
do this in the docs. Hopefully I am just
overlooking something!
I'm using Django 0.96 if it matters...
Thanks,
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to th
On Dec 6, 5:29 pm, "Ramdas S" <[EMAIL PROTECTED]> wrote:
> Register yourself as a user and try
Thank you.
In case anyone else has the same problem, I didn't actually register
and log in, I clicked "Settings" and put in my name and email there.
--~--~-~--~~~---~--~
* [http://blogcosm.com/media/blogmaker/release/README.html Blogmaker]
A full-featured, production-quality blogging application with support
for trackback, ping and comment honeypots
Thanks,
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
blogs at http://blog.blogcosm.com/ and
http://prefabcosm.com/blog/.
Full announcement:
http://blog.blogcosm.com/2007/12/06/
Release page with the full feature list, download link and (limited)
documentation:
http://blogcosm.com/media/blogmaker/release/README.html
Kent
work on the part of real humans.
Today or tomorrow the company I work for (PreFab Software) will be
releasing a blogging app for Django that includes a comment app
implementing your honeypot ideas. Stay tuned here or at
http://blog.blogcosm.com for an announcement.
Kent
>
> --Ned.
>
ot personal
>> experience).
>
> +1 from personal experience - though I just found that they dont have
> pg_dump on their server.
I use pg_dump at WF:
/usr/local/pgsql/bin/pg_dump
Kent
--~--~-~--~~~---~--~~
You received this message because you ar
rm. Then attach whatever behaviour
you want to the form elements.
Personally I find jQuery very helpful with this but you can use a
different JS library or write it all yourself.
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
always too
easy to understand so you have to do some digging and experimenting but
it is very flexible and powerful and the resulting charts are good quality.
A recipe here shows how to return a matplotlib image in a Django response:
http://www.scip
load link is not working (404).
Kent
--~--~-~--~~~---~--~~
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, s
te fields,
then call the inherited save().
Kent
--~--~-~--~~~---~--~~
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 th
This is a bug, see
http://code.djangoproject.com/ticket/565
Kent
--~--~-~--~~~---~--~~
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@googlegro
he
poll appears in the join once for each choice.
Is there a way to get this to work correctly?
Thanks,
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
table. Updates can be defined in SQL or Python
functions. I have been using it for about three weeks with a database
under pretty frequent modification (10 schema changes in those 3 weeks)
and I am very pleased with it. It includes a patch to syncdb so updates
run with syncdb.
Kent
--~--~---
Kent Johnson wrote:
> Enrico wrote:
>> Can't you just override the 'save' method of your model?
>
> Maybe I can. I think I once had a reason not to do that but I can't
> remember it :-)
Yes, this is fine, thanks for nu
Thanks,
Kent
--~--~-~--~~~---~--~~
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 [EMAIL PRO
Enrico wrote:
> Can't you just override the 'save' method of your model?
Maybe I can. I think I once had a reason not to do that but I can't
remember it :-)
Thanks,
Kent
--~--~-~--~~~---~--~~
You received this message because you are s
the modified version
- call the original admin view with the modified request
My questions:
- Is it OK to replace request.POST this way?
- Is there a better way to accomplish this?
BTW the reason I don't just save the new value is, I want the changed
value to show up in the admin
Thanks for the reply, Adrian.
Yep, I have already got the admin interface to my model enabled, that's
how I got my initial data into the database.
However, for the end-user interface, I wanted to go with a different
look. I probably worded what I wanted badly: the key concept is that,
for a Bo
I want to create a form for entering data and all of its related data,
on one form. Here's a simplified model to illustrate:
class Author(meta.Model):
name = meta.CharField(maxlength=40)
class Book(meta.Model):
title = meta.CharField(maxlength=40)
authors = meta.ManyToManyField(Auth
= []
88. if values is None:
89. values = []
90. len_values = len(values)
So, am I completely off base here? Is what I want to do not possible,
or is there another way I can tackle this?
Thanks,
Mike Kent
--~--~-~--~~~---~--~~
You received this message becau
same changes. Would you be interested in having two working
adapters if I can get adodbapi to work?
Kent
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Cheng Zhang wrote:
> On Feb 28, 2006, at 5:48 AM, kent wrote:
>
> > PS I tried submitting this as a patch in the tracker but I didn't see
> > any 'attach file' button...
>
> The 'attach file' button will appear after you create the ticket. :-)
Ah
-43,6 +47,7 @@
return int(res) # If float but int, then int.
return res
Database.convertVariantToPython = variantToPython
+Database.adodbapi.convertVariantToPython = variantToPython
class DatabaseWrapper:
def __init__(self):
Kent
PS I tried submitting this as a patch in th
32 matches
Mail list logo