On 6/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Not sure if this makes a difference or not, but when I run "manage.py
> validate" it says that there are 0 errors... and like I said
> originally... The files on my production server are an exact mirror of
> what is on my dev server. My
On Sat, 2006-06-24 at 23:57 -0700, [EMAIL PROTECTED] wrote:
> Not sure if this makes a difference or not, but when I run "manage.py
> validate" it says that there are 0 errors... and like I said
> originally... The files on my production server are an exact mirror of
> what is on my dev server. My
Russell Keith-Magee wrote:
> On 6/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Not sure if this makes a difference or not, but when I run "manage.py
> > validate" it says that there are 0 errors... and like I said
> > originally... The files on my production server are an exact mir
If your using the trunk version have a look at docs/fastcgi.txt. It's
now easier then it used to be to get stuff running, because fastcgi
support is part of manage.py. There's full conf stuff in the text file.
--~--~-~--~~~---~--~~
You received this message becaus
Hello all,
I'm trying to extend polls app from tutorial and add a 'user already
voted' check. Can somebody suggest me a way to do that? My current
idea is to add some BLOB filed to polls model and add each voted user
id to list that will be pickled into that field. For anonymous users a
cookie
wi
Hi,
I am in the same situation actually. Or almost, as I'll have only
anonymous users.
I though about restricting votes based on IP addresses, but today,
with NATs and all, that would be unfair for a lot of people.
What I was planning to do is use the session framework. I will have in
the sessi
Russell Keith-Magee wrote:
> > I'm using Django-0.95-py2.3.egg.
>
> Where did you get a 0.95 egg? v0.95 hasn't been released - it will be
> the version number of the next official release, but that hasn't
> happened yet.
I believe I grabbed revision 3069 from the subversion repo. When it
instal
Russell Keith-Magee wrote:
> On 6/25/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> > Interesting - I get the same behaviour. I've opened ticket #2231 for
> > this problem - I'll look into it.
>
> Ok - I take that back - I don't get the same behaviour.
>
> True - the SQL doesn't get a defau
kwe, thank you for your help. i readed docs/fastcgi.txt and now my app
runs smoothly under lighttpd server.
thanks
michal
kwe wrote:
> If your using the trunk version have a look at docs/fastcgi.txt. It's
> now easier then it used to be to get stuff running, because fastcgi
> support is part
Hi
I've got the following in my template:
{% if reference_set.count %}
{% for reference in reference_set.all|slice:":5" %}
{{ reference.name }}
{% endfor %}
{% endif %}
If there are more then 5 references I'ld like to show a 'more' link that
leads to a list of all references.
Something lik
On Jun 25, 2006, at 1:13 PM, Steven Armstrong wrote:If there are more then 5 references I'ld like to show a 'more' link that leads to a list of all references.Something like (pseudocode):{% if reference_set.count > 5 %}more{% endif %}Anybody know how to do that?Or am I missing something obvious?Not
Also, AFAIK 'default' isn't meant to be an SQL-level thing; it's
mostly for the admin interface and maybe manipulators.
--
"May the forces of evil become confused on the way to your house."
-- George Carlin
--~--~-~--~~~---~--~~
You received this message becaus
Hi.
I'd like to announce the initial release of Gypsy Jobs (http://
gypsyjobs.com/ ) a job matching service dedicated to helping
developers find work using Django.
It is a beta product, which started about two weeks ago, and thanks
to the power of django is a reality now.
your comments an
How do I disable change input field on ImageField? so that an image can
only be uploaded once.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
My guess would be caching or database discrepencies. Have you tried
accessing the production database through the dev server? Also have you
tried to delete .pyc files?
-rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Ok; here's a few more questions:
1) Update both servers again - has Malcolm's r3202 patch resolved anything?
2) If you run ./manage.py shell, then run:
>>> from django.db import models
>>> print models.get_apps()
>>> print models.get_models()
What do you get (on each server)?
3) Exactly how ha
Don Arbow wrote:
> Not sure if it works, but off the top of my head, what I would try is this:
>
> {% if reference_set.all|slice:"5:" %}
Not exactly this. Here a DB (Postgres at least) will complain that it
can't set OFFSET without LIMIT. This would work:
{% if reference_set.all|slice:"5:
17 matches
Mail list logo