how do i get a release of psycopg2 for postgres libs
James Bennett wrote:
> On 11/19/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Make sure that your psycopg2 build matches with your postgres's libs.
>
> Also, he could probably get more effective help by asking on the
> web.py mailing list, sin
thanks guys
James Bennett wrote:
> On 11/19/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> > Make sure that your psycopg2 build matches with your postgres's libs.
>
> Also, he could probably get more effective help by asking on the
> web.py mailing list, since he's using that and not Django...
>
>
James Bennett wrote:
> On 11/19/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
>> Make sure that your psycopg2 build matches with your postgres's libs.
>
> Also, he could probably get more effective help by asking on the
> web.py mailing list, since he's using that and not Django...
From: "krypto
On 11/19/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> Make sure that your psycopg2 build matches with your postgres's libs.
Also, he could probably get more effective help by asking on the
web.py mailing list, since he's using that and not Django...
--
"May the forces of evil become confused o
Make sure that your psycopg2 build matches with your postgres's libs.
On 11/19/06, krypton <[EMAIL PROTECTED]> wrote:
> psycopg2.ProgrammingError at /
> floating-point exception DETAIL: An invalid floating-point operation
> was signaled. This probably means an out-of-range result or an invalid
-
Hi guys
I upgraded to fedora core 6 and now webpy doesnt work I m getting this
error please help me fix this am unable to fix this. it was working
previously with no problems ;(
thanks
Krypton
psycopg2.ProgrammingError at /
floating-point exception DETAIL: An invalid floating-point operation
was s
mikeb i have the same problem it takes few minutes to come back and i
see a lot of python process waiting for whatever.
kill kill all ect have no effects.
But once it runs its all good.
mikeb wrote:
> I just did that. Thanks for the pointer :)
>
> On Nov 18, 6:08 pm, "chasfs" <[EMAIL PROTECTED]>
I am in the process of developing a stock ordering system.
I want the total field to be automatically calculated by quantity and
price fields
when i try and save an order item (in the admin interface) it says
please correct the errors below without highlighting any of the fields.
This is what i
"Fredrik Lundh 写道:
"
> (...and is especially useful of you're creating the context variables
> on the fly, using searches/transforms on an initial model loaded by the
> view, for example).
>
>
Really?! can you show me some pointer or example on how to do it? I
hate to prepare all presentationa
Guillermo -
Thanks again for your help - this is working really well.
I have a followup question - I don't know if you can help with this:
My custom tag embeds the current path as a hidden field in the poll
voting form, and I've modified my vote view to redirect to that path if
it's included in
I'm building a custom set of filters, and since I need to do 'OR'
searches it is assembling them as a string that could look like this:
-
filter_string = "Q(resolution__isnull='on'),
Q(description__icontains='a') | Q(title__icontains='a')"
-
My problem is getting this from the string I've
I just did that. Thanks for the pointer :)
On Nov 18, 6:08 pm, "chasfs" <[EMAIL PROTECTED]> wrote:
> Hi Mike,
> Sorry I can't help you directly. Have you voted for Dreamhost
> feature:
>
> 2005-07-25 New FeaturesAdd support for Django (a python
> web-development framework).
>
> You
Hi Mike,
Sorry I can't help you directly. Have you voted for Dreamhost
feature:
2005-07-25 New FeaturesAdd support for Django (a python
web-development framework).
You vote on http://panel.dreamhost.com, click on Home and then
Suggestions and then scroll down or search for Django.
Tom Smith wrote:
> Hello.
>
> When in mysql I do a...
>
> explain select title from burningahole_product where ( price >10 and
> price<20) order by random_number limit 10;
>
>
> ... I get...
>
> ++-+--+---
> ++-
Hello,
Is there any way I can paginate an archive more or less like the way Google
displays pages? I am using Generic Views using
django.views.generic.date_based.archive_index. This will indeed be very
useful.
Thanks
S Ramdas
--~--~-~--~~~---~--~~
You receiv
Hey Everyone,
I have a custon view set up which is basically a list of all the posts
within a category, which is paginated. Here is the code which I have
got working so far:
def category_detail(request, slug):
recent_posts = Post.objects.order_by('-pub_date')[:10]
category = shor
That was supposed to go into a separate topic.. sorry!
--~--~-~--~~~---~--~~
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
Guillermo Fernandez Castellanos wrote:
> And what about the admin "view on site" and the feeds? They both
> depend on the get_absolute_url. How could this be 'integrated' as well
> into your solution?
Reverse is not designed to replace get_absolute_url. It's just a more
general solution because
Hey Everyone,
I have a custon view set up which is basically a list of all the posts
within a category, which is paginated. Here is the code which I have
got working so far:
def category_detail(request, slug):
recent_posts = Post.objects.order_by('-pub_date')[:10]
category = sho
And what about the admin "view on site" and the feeds? They both
depend on the get_absolute_url. How could this be 'integrated' as well
into your solution?
G
On 11/18/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
>
> Guillermo Fernandez Castellanos wrote:
> > But then, is this not going against t
On 11/18/06, Tom Smith <[EMAIL PROTECTED]> wrote:
>
> Hello.
>
> When in mysql I do a...
>
> explain select title from burningahole_product where ( price >10 and
> price<20) order by random_number limit 10;
This isn't a Django question, but indexes only work well when there's
a large distribution
Guillermo Fernandez Castellanos wrote:
> But then, is this not going against the DYR principle? In my case, if
> I have to change my mind I simply have to change a varialbe, while in
> your case I've to change the whole lot of templates, even if your
> option might be 'cleaner'.
No you shouldn't.
Perhaps something from here will help?
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59883
Where your list is an xrange(min...max) of id's from your database
table. That is, do it in python, not with your database...
Or maybe this, http://www.petefreitag.com/item/466.cfm - which *does
It looks nice indeed, I'll probably give it a go :-)
But then, is this not going against the DYR principle? In my case, if
I have to change my mind I simply have to change a varialbe, while in
your case I've to change the whole lot of templates, even if your
option might be 'cleaner'.
Another op
Hello.
When in mysql I do a...
explain select title from burningahole_product where ( price >10 and
price<20) order by random_number limit 10;
... I get...
++-+--+---
+++-
+--+-
can.xiang wrote:
> Fredrik, thanks for your idea and snippet. If I have to put xml
> generating code in views I would follow you.
it works just fine for (X)HTML fragments too, of course.
(...and is especially useful of you're creating the context variables
on the fly, using searches/transforms
I'm on dreamhost, which provides FastCgi but not mod_python. FastCGI
has always been flaky there, where when I touch my django.fcgi file
django sometimes takes a few minutes to come back. kill, killall, kill
-9, kill -USR1 etc doesn't help.
Lately it has gotten much worse. Whenever I touch any
Like rubyonrails creator say's "PHP is the Devil"(and we agree) ;)
El sáb, 18-11-2006 a las 16:16 +, Roboto escribió:
> Session Tampered Error (Admin only)
>
> Bug solved!
>
> TURN OFF MOD_PHP!!
>
>
> >
--
http://igordevlog.blogspot.com/
--~--~-~--~~~---~--
Session Tampered Error (Admin only)
Bug solved!
TURN OFF MOD_PHP!!
--~--~-~--~~~---~--~~
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 unsub
Russ, thanks for your suggestion.
Because all I want is a pure XML output, so for this case, I want all
variable encoded at one time, for non-variable string I can deal with
it manually.
After some experiment on attaching encoding function TextNode and
VarialbeNode (actually it's the first time
my problem is very similar with:
http://groups.google.com/group/django-users/browse_frm/thread/43b3e6d2d0a691d/f2e05622f3aef6bb?lnk=gst&q=__main__+models&rnum=2#f2e05622f3aef6bb
but there i don't think someone had solved that question. so I just
make that question simple. I have set environment v
Guillermo Fernandez Castellanos wrote:
> In that case, people tend to hardcode teh /event/ part into the
> get_absolute_url function of the model.
There's a better (IMHO) way to do this with reverse url lookup for a
given view that Adrian has added not long before 0.95. Usually an app
knows its
> One question though: Could you explain what GUINDILLA_CALENDAR_BASE
> refers to?
When you put an app somewhere it always comes with an urls.py that you
include in your main urls.py.
When you include that urls.py, you can include it under whatever name you want:
(r'^events/', include('g
Hi,
This is what i ended up doing in a project of mine.But this involved
two DB calls
One to retrieve and another to save, but with just SQL can be
accomplished in a
single UPDATE statement.
Django docs menthion that if you explicitly specify an id (primary
key ) it should update the db. So I d
you might want to look at this:
http://www.python.org/doc/2.3/lib/module-calendar.html
patrick
Am 18.11.2006 um 01:53 schrieb [EMAIL PROTECTED]:
>
> Wow, that actually helps alot! Thanks!
>
> One question though: Could you explain what GUINDILLA_CALENDAR_BASE
> refers to?
>
> Again - thanks,
>
35 matches
Mail list logo