My bad, I was mislead by the low release number and dates. I just
tried it and the trunk version does indeed work with Django 1.0
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
At the site admin, when I click on the add user I get this error.
TemplateSyntaxError at /admin/auth/user/add/
Invalid block tag: 'include_admin_script'
Request Method: GET
Request URL:http://10.0.0.20:8000/admin/auth/user/add/
Exception Type: TemplateSyntaxError
Exception V
I didn't know about the new form wizard code, I think I'll use that!
The auth issue happens with something as simple as this:
def view1(request):
return view2(request)
view1 = login_required(view1)
def view2(request):
return render_to_response(
'view2.html',
{},
I am new my self but it sounds like the URLs not pointing the right
place. One thing it might be is the setting.py his the wrong path a
the installed app or root_urlconf. I am new too, so hope it helped.
On Sep 4, 12:45 pm, Denis BUCHER <[EMAIL PROTECTED]> wrote:
> Hello !
>
> I have a problem
Hi,
I plan to host my production copy of my django project on a linux/
apache setup, however for my development I want to do a checkout
through subversion and work exclusively on windows as I develop. This
means I want to be able to run just the test server for django on
windows while I develop t
On Sep 4, 3:39 pm, Robert Dailey <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I plan to host my production copy of my django project on a linux/
> apache setup, however for my development I want to do a checkout
> through subversion and work exclusively on windows as I develop. This
> means I want to be a
2008/9/4 KillaBee <[EMAIL PROTECTED]>
>
> At the site admin, when I click on the add user I get this error.
>
> TemplateSyntaxError at /admin/auth/user/add/
>
> Invalid block tag: 'include_admin_script'
>
> Request Method: GET
> Request URL:http://10.0.0.20:8000/admin/auth/user/add/
>
On Thu, Sep 4, 2008 at 1:45 PM, Denis BUCHER <[EMAIL PROTECTED]>wrote:
>
> Hello !
>
> I have a problem installing django. I followed the instructions but then :
>
Which instructions, exactly? There are various options (installing under
python's site-packages, creating a symbolic link in site-pa
On Thu, Sep 4, 2008 at 4:47 PM, Robert Dailey <[EMAIL PROTECTED]> wrote:
>
> On Sep 4, 3:39 pm, Robert Dailey <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I plan to host my production copy of my django project on a linux/
> > apache setup, however for my development I want to do a checkout
> > throu
On Thu, Sep 4, 2008 at 2:29 PM, pavel srb <[EMAIL PROTECTED]> wrote:
> please, due to http://www.djangoproject.com/weblog/2008/sep/02/security/
> i would like to know, when there will be security patch for debian
> etch version
I follow the Debian bug tracker and lists for Django-related items,
Following is what I want to achieve, any clues on how to achieve the
following in Django orm and mysql without composite key support from
django
Any workarounds, any one is aware of.
thanks
copying straight from
http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html
For MyISAM and
I never thought I'd say this, but it's a little TOO QUICK. Maybe
3min ? It's not long enough to really get me interested, but I don't
want to take too much time / detail that I start learning the product.
Overall though, the quality and idea are awesome, keep it up.
John
On Sep 3, 2:07 pm, "I
2008/9/4 John M <[EMAIL PROTECTED]>:
>
> I never thought I'd say this, but it's a little TOO QUICK. Maybe
> 3min ? It's not long enough to really get me interested, but I don't
> want to take too much time / detail that I start learning the product.
>
> Overall though, the quality and idea are a
I just wanted to let people know that the get-together is still on, if
people are interested.
There's more information here: http://django.meetup.com/3/
Let me know if you have any questions.
Jonathan
On Aug 20, 9:22 pm, Jonathan Nelson <[EMAIL PROTECTED]> wrote:
> I'm planning a get togeth
Hi,
I would like to translate a django project, but my templates are very
verbose, so I would like to have a localized version of each template
file.
So I changed the basic "return render_to_response(...)" in my views by
the following code:
local_code = request.LANGUAGE_CODE or settings.LANGUAG
Sorry guys, I just need a tip :
where do you get your models.ColorField from ? I've upgraded to django
1.0, and don't have it !
Regards,
Guillaume
On 30 août, 16:03, Leaf <[EMAIL PROTECTED]> wrote:
> Of course. I just look at the error actually occurs on, not the
> context. I guess even Python
Hi Sean,
I'm very interested in how you made the ColorField work as I didn't
manage to do that !
Help appreciated !
Regards,
Guillaume
On 21 juil, 21:05, Sean Legassick <[EMAIL PROTECTED]> wrote:
> On 8 Jul 2008, at 04:24, Leaf wrote:
>
>
>
> > Does anyone know if there is such thing as a Col
I've updated the patch attached to #3591 to be cleanly applicable to
r8965 - i.e. post the 1.0 release. I didn't have to make any
significant changes to the code itself, just to a couple of the unit
tests which were explicitly checking for module representations rather
than app instances.
http://
Is there a way in my template to show entries only by a certain author
of the post? I have been looking and have been unsuccessful.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
It's seemd that Django has set /accounts/profile as default page after
login successfully.
I wonder if we can re-direct it to a custom page?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
ekellner schreef:
> The expected date format is a per-connection level setting. (Called
> "DATESTYLE" in postgresql). There is also a default format if the
> connection doesn't specify.
>
> I strongly suspect that this mismatch between formats is actually
> happening between the database a
Benedict Verheyen schreef:
> Thanks for the info.
> I'm seems i'm unable to set the correct datestyle to get this to work.
>
> When i run it from a python shell, i do indeed get the same error:
>
> python manage shell
> >>> from django.db import connection, backend
> >>> cursor = connection.c
In my models, I have an author variable in the Post model.
On Sep 4, 6:06 pm, unklbeemer <[EMAIL PROTECTED]> wrote:
> Is there a way in my template to show entries only by a certain author
> of the post? I have been looking and have been unsuccessful.
--~--~-~--~~~---
Benedict Verheyen schreef:
>
> I did some more testing
> When i execute the sql from the psql command line, the first time it gives an
> error, the 2nd time it doesn't ?! How weird is that :)
> Date style is set to 'iso, ymd'
>
> psql webshop
> Welcome to psql 7.4.19, the PostgreSQL interactive
Is it more practical if i put "date_based.archive_index" in the URL
pattern?
--~--~-~--~~~---~--~~
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
Hi, Karen,
> > Can I include my Model's or AdminModel's method into AdminModels
> > list_filter?
> No, the filtering is done at the database level.
Thanks. I've added Boolean field with default value and overrode the
Model's
save() method to update that field with calculated value from the
othe
Join Yuwie and get paid to use a social network just like Myspace.
--~--~-~--~~~---~--~~
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
Hello everyone,
Is anyone else missing USStateField? None of my models that use this
field are validating. I've tried trunk and the 1.0 official release I
get the same error on both versions.
If you look in django > db > models > fields > __init__.py
You will not find USStateField, although it'
My bad. I see it's not in the latest version of the documentation :
http://docs.djangoproject.com/en/dev/ref/models/fields/#model-field-types
I guess we can just make a list of static choices using the states
list in localflavor.us
On Sep 4, 8:23 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> H
Its there, just moved to localflavor, try the following:
from django.contrib.localflavor.us.models import *
then instead of using models.USStateField, just use USStateField
PhoneNumberField is also there.
Brandon Taylor wrote:
> Hello everyone,
>
> Is anyone else missing USStateField? None of
USStateField is now located at
django.contrib.localflavor.us.models.USStateField, as documented here:
http://docs.djangoproject.com/en/dev/ref/contrib/localflavor/#united-states-of-america-us
On Sep 4, 9:23 pm, Brandon Taylor <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> Is anyone else missing
On 04-Sep-08, at 8:40 PM, Robert Dailey wrote:
> concern with the structure I presented above is how I will configure
> Apache2 to handle serving static content. Also, the fact that Django
> requires an absolute path for the templates directory makes this more
> of a management nightmare.
anywa
On Thu, 2008-09-04 at 18:23 -0700, Brandon Taylor wrote:
> Hello everyone,
>
> Is anyone else missing USStateField? None of my models that use this
> field are validating. I've tried trunk and the 1.0 official release I
> get the same error on both versions.
>
> If you look in django > db > mod
Thanks everyone. I guess I just overlooked the localflavor
documentation.
Kind regards,
Brandon
On Sep 4, 8:30 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-09-04 at 18:23 -0700, Brandon Taylor wrote:
> > Hello everyone,
>
> > Is anyone else missing USStateField? None of my mo
So, next stupid question :)
These fields all derive from forms, not models. How are we supposed to
use these as we did previously in the admin? Registering a model with
a field defined using USPhoneNumber, ZipCode, etc throws an error that
says 'X' field is missing in the form.
On Sep 4, 8:34 pm
On Thu, 2008-09-04 at 18:46 -0700, Brandon Taylor wrote:
> So, next stupid question :)
>
> These fields all derive from forms, not models.
Not true. All the fields in django.contrib.localflavor.us.forms derive
from form fields. All the ones in django.contrib.localflavor.us.models
derive from m
Thanks Malcom, I apperciate it!
On Sep 4, 8:49 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-09-04 at 18:46 -0700, Brandon Taylor wrote:
> > So, next stupid question :)
>
> > These fields all derive from forms, not models.
>
> Not true. All the fields in django.contrib.localfla
For now I've commented out that error in django/core/management/
validation.py on line 121 and 122.
#if from_model == to_model and f.rel.symmetrical:
#e.add(opts, "Many-to-many fields with
intermediate tables cannot be symmetrical.")
I'm sure there was
On Fri, Sep 5, 2008 at 1:53 AM, bkev <[EMAIL PROTECTED]> wrote:
>
> Ronny,
>
> Thank you so very much for your input; it has helped this newbie user
> a great deal. The one outstanding problem I'm having here (and it's
> the last field in my model...) is that I'd actually like to use a
> FloatFiel
Oh, it's OK, I droped the database and rebuilt the database.
On 9月4日, 下午1时26分, nonight <[EMAIL PROTECTED]> wrote:
> no, the comments system is new ,not upgrading from the old style.
>
> On 9月4日, 上午10时18分, Joshua Jonah <[EMAIL PROTECTED]> wrote:
>
> > Did you upgrade the comments system from the
I count 12 available middleware classes at
http://docs.djangoproject.com/en/dev/ref/middleware/,
however I can not find a complete listing of the best order to place
them. I have read tips here and there about what to do with some of
them, but can someone please provide me with the definitive lis
I'm looking around at python web frameworks and I've heard some good
stuff about django. I mostly need something to do the presentation
level.
In general I like the declarative style of tag libraries like jsp and
asp .net. They don't mix code and html (which encourages separation
between presenta
Just released a how-to and some code on our blog:
http://blog.fluther.com/blog/2008/09/04/mogilefs-for-django/
Praise can be sent directly to me, scathing criticism of the code can
be directed to my partner.
See you at djangoCon!
--~--~-~--~~~---~--~~
You receiv
Nice, just have to get on James to slam it into Django-profiles.
Knowing him though, he'll rewrite it and then put thirty pages of
documentation in it.
Nice contribution.
Andrew wrote:
> Just released a how-to and some code on our blog:
>
> http://blog.fluther.com/blog/2008/09/04/mogilefs-for-
I do it in the same way. I think there is no need here make here
something more complex
--~--~-~--~~~---~--~~
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
101 - 145 of 145 matches
Mail list logo