I am also having this problem. All of my request.META['PATH_INFO']
result in '/'
do you know what it was that resolved this?!?!
On Jan 30, 10:25 am, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
> Graham Dumpleton wrote:
>
> > This can occur where you are using Location directive set to '/'
On 2/5/07, Milan Andric <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a poorly written view that is 1) hard to understand and 2)
> performs slowly. Can you offer any incite into what is slowing this
> view down so much? Besides the app being over 60 fields long, what
> other things can I adju
well, the locale directory should be in up-level of project
directorysorry for disturbing. ;)
On 2月5日, 下午2时05分, "pength" <[EMAIL PROTECTED]> wrote:
> i am using i18n as the following way. In urls.py, i added
> (r'^i18n/', include('django.conf.urls.i18n')),
> and in my page, there're 2 buttons
Taht woks!
Thanks a lot.
On 5 feb, 18:49, "Chris Brand" <[EMAIL PROTECTED]> wrote:
> Try {{ object.pub_date|date }}
>
> Chris
>
> > -Original Message-
> > From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> > On Behalf Of Matias
> > Sent: 4 February 2007 1:50 PM
> > To: Djang
Hello,
I have a poorly written view that is 1) hard to understand and 2)
performs slowly. Can you offer any incite into what is slowing this
view down so much? Besides the app being over 60 fields long, what
other things can I adjust to make this view perform better?
http://dpaste.com/5362/
T
This is a known bug:
http://code.djangoproject.com/ticket/3335
On Feb 5, 8:53 am, patrickk <[EMAIL PROTECTED]> wrote:
> when I go to one of the flatpages on our site (not admin), I´m
> getting "404 page not found" - but only when debug=False.
> with debug=True, everything´s fine.
>
> any ideas?
>
On 2/5/07, Enrico <[EMAIL PROTECTED]> wrote:
>
> I need to list the Users, with the possibility of using two filters:
> my friends and people who added me.
>
> I can list people who added me using:
> users = auth.models.User.filter(profile__friends=some_user_id)
>
> But I can't get the list of peo
On Feb 6, 1:38 am, "quentinsf" <[EMAIL PROTECTED]> wrote:
> I'm developing some code which I need to run undermod_python- the
> 'runserver' option won't work because it's complex stuff and I need to
> handle multiple simultaneous requests, even in the early debugging
> stages.
>
> It would be re
> * is there a way to do custom queries, and tie the result back into the
> object model or into the queryset interface? I have a query which
> (really) returns 'django objects', which is impossible to write with the
> ORM, but after doing the query I would like to get back to using django
> objec
On 2/1/07, aaloy <[EMAIL PROTECTED]> wrote:
> I'm trying use form inheritance to render the form, but it seems
> Django just renders the child fields and not the parent ones. Is this
> a feature or a bug?
Hi aaloy,
This is a bug, and we're aware of it. The workaround is to do as Honza
suggested,
On 2/4/07, James Bennett <[EMAIL PROTECTED]> wrote:
> Its existence has always been a bit of a hack, and I'm hoping newforms
> will get rid of it once and for all.
Yes, "follow" is going away, and good riddance.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com
--~--~-~--~---
Thanks Honza -
That's a nice solution. I'll follow your example.
Quentin
--~--~-~--~~~---~--~~
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 2/5/07, Waylan Limberg <[EMAIL PROTECTED]> wrote:
> On 2/4/07, Jason <[EMAIL PROTECTED]> wrote:
> >
> > Can anyone help with my super simple query string problem
> >
> > I'm simply trying to get www.mysite.com/uptodate?build=123 parsed. The
> > problem is I can't get any URL to match (I kee
On 2/4/07, Jason <[EMAIL PROTECTED]> wrote:
>
> Can anyone help with my super simple query string problem
>
> I'm simply trying to get www.mysite.com/uptodate?build=123 parsed. The
> problem is I can't get any URL to match (I keep getting 404 - page not
> found).
>
>
> My URL:
>
> (r'^uptodate
Try {{ object.pub_date|date }}
Chris
> -Original Message-
> From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Matias
> Sent: 4 February 2007 1:50 PM
> To: Django users
> Subject: DATETIME_FORMAT ignored
>
>
> Hi,
>
> Hi,
>
> I'm my settings.py I've added th
Hi daev,
On 1 Lut, 09:52, "daev" <[EMAIL PROTECTED]> wrote:
> Thanks. But i still have this problem. Even after update my work copy
> of code
you were right, there was a bug that would cause incorrect table
headers for fields without verbose_name explicitely set in model
definition. I found and
I'm having some problems with the django.test.client infastructure.
To fix them I tried to print the response of a Client().get() call but
I noticed that in presence of the status code 500 the response.content
is filled with the production page, not the one Django generates
during the development
when I go to one of the flatpages on our site (not admin), I´m
getting "404 page not found" - but only when debug=False.
with debug=True, everything´s fine.
any ideas?
thanks,
patrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
On 2/5/07, voltron <[EMAIL PROTECTED]> wrote:
> I found this great tutorial, is it still valid? Can I base my code on
> this tutorial without fearing that things might break later? Is there
> another source for newforms docs?
The definitive source for newforms docs is here:
http://www.djangoproj
Hi,
I have a Profile model with a OneToOne relationship to the auth.User
model.
In the Profile I have a ManyToMany relationship (non-symmetrical) to
the auth.User model called friends.
Something like this:
class Profile(models.Model):
user = models.OneToOneField(auth.models.User)
friends
I found this great tutorial, is it still valid? Can I base my code on
this tutorial without fearing that things might break later? Is there
another source for newforms docs?
Tutorial link : http://code.pui.ch/2007/01/07/using-djangos-newforms/
thanks
--~--~-~--~~~---
On 2/5/07, quentinsf <[EMAIL PROTECTED]> wrote:
>
> I'm developing some code which I need to run under mod_python - the
> 'runserver' option won't work because it's complex stuff and I need to
> handle multiple simultaneous requests, even in the early debugging
> stages.
>
> It would be really nice
Hi,
Accoridng to the Django book, one could extend the basic user model by
adding a profile class, this class is then set in the settings module
thus:
AUTH_PROFILE_MODULE = "myapp.mysiteprofile"
How do I set multiple profiles? I would like to have different types
of users, diffrentiating via d
to try and serialize queryset (or any other object for that matter),
pass it to the user and than back to server is just not nice...
try passing the parameters needed to construct the queryset, store it
temporarily in a DB (session or some cache backend) or anything, just
don't give it to the user
hey everyone,
* is there a way to do custom queries, and tie the result back into the
object model or into the queryset interface? I have a query which
(really) returns 'django objects', which is impossible to write with the
ORM, but after doing the query I would like to get back to using dja
Hi:
DId you ever find a solution to this? I'm having a similar probme but
want to deliver the query set like:
http://www.foo.com/books?a=12345
Jason.
On Feb 3, 6:52 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like to deliver a query set to a view by url.
> I used pickl
I'm developing some code which I need to run under mod_python - the
'runserver' option won't work because it's complex stuff and I need to
handle multiple simultaneous requests, even in the early debugging
stages.
It would be really nice to see the output of my print statements. I
know I could w
Hi,
I wonder if something like bbclone [1] (especially the "live" view
[2]) exists in python? I've just found Peastat [3] which looks new but
interesting (fortunately, the author is maybe on this list). What else
did you use to know where are your current visitors? Same question for
long term sta
Hi all,
I'm trying to use a ManyToManyField between two tables ... the models are
this:
class Rim(models.Model):
nome = models.CharField(maxlength=30)
def __str__(self):
return self.nome
class Previsione(models.Model):
nave = models.CharField(maxlength=5
On 4 Feb 2007, at 16:44, Ramiro Morales wrote:
> See tickets #2210 and 2076 where a patch is proposed to solve the
> problem.
I tried to patch it.. like this...
>>cd /Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/
site-packages/Django-0.95-py2.4.egg/django/db/models
>>patch
try :
from pytpath.appl.models import task_par1
in your view file
smallQ
2007-02-05
发件人: CosyGlow
发送时间: 2007-02-05 17:06:55
收件人: Django users
抄送:
主题: ViewDoesNotExist at /appl/ - Help please?
Django users
I'm tried to get my project to work but am stuck with the
abovementioned error.
Hmm, I reset the database, restarted, invoked syncdb again, now it
works :)
On Jan 29, 9:20 pm, "voltron" <[EMAIL PROTECTED]> wrote:
> Yes I did add the admin app, all models validated properly and I can
> start the internal Django server
>
> On Jan 29, 5:04 am, "Ramdas S" <[EMAIL PROTECTED]> w
Django users
I'm tried to get my project to work but am stuck with the
abovementioned error. I've tried everything in the book and also tried
all advice given by users on the group to other users who had the same
kinda errors, but I had no joy yet.
Below I'm describing/giving evertyhing I can th
33 matches
Mail list logo