Re: My templates don't render correctly

2009-06-19 Thread mojo
e: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > mojo escribió: > > >            {% block title %} Home {% endblock title %} > >             >             > type="text/css" / > >            

Re: My templates don't render correctly

2009-06-19 Thread mojo
annot see the CSS) http://localhost:8/work/subfold1/ <--- doesn't work fine (Cannot see the CSS) On Jun 19, 4:09 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Fri, Jun 19, 2009 at 3:58 PM, mojo <joem...@gmail.com> wrote: > > > [snip] > > i

My templates don't render correctly

2009-06-19 Thread mojo
Does anyone know why django doesn't render pages with trailing slashes? I have a template that looks something like this: templates/ - _base.html - index.html - work/ - subfold1/ -sub1_index.html - subfold2/ - f1_index.html

RE: Trouble with installing stockphoto

2007-08-02 Thread mojo
You should create this base.html template. This is not self extension. There are more problems with win32, i.e. file paths. -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Danno Sent: Thursday, August 02, 2007 7:39 AM To: Django users

cPickle.loads error

2007-04-28 Thread mojo
Hi. After moving data from one db to another using django.core.serializers I am getting cPickle error: "invalid load key, '\'" when trying to unpickle. Model sample follow: class SomeModel( models.Model ): data_pickle = models.TextField( blank=True, null=True ) def unpack( self ):

RE: Generic login view bug suspection

2007-04-19 Thread mojo
On 4/19/07, mojo <[EMAIL PROTECTED]> wrote: > I think this might be a bug. Unexpected behaviour at least. > When I delete default Site object ('example.com'), generic login view raises > exception, as it is looking for Site with pk=1. We really need to document this a little better

Generic login view bug suspection

2007-04-19 Thread mojo
Hi. I think this might be a bug. Unexpected behaviour at least. When I delete default Site object ('example.com'), generic login view raises exception, as it is looking for Site with pk=1. --~--~-~--~~~---~--~~ You received this message because you are

RE: No module named MIMEText

2007-01-23 Thread mojo
I had this problem once. Don't know the cause of it, but deleting and recompilation .pyc files in Python24\Lib\email\ helped. -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of johnny Sent: Monday, January 22, 2007 9:25 PM To: Django users

Re: Validation of Dynamically generated forms.

2007-01-17 Thread mojo
ok, simple example: we need a form, that consists of questions. question is a django model and we can have any number of them. let's assume, that answer is a string, so we can use text widget (in my project type of field varied for questions). in manipulator's __init__ we iterate all questions

RE: Validation of Dynamically generated forms.

2007-01-16 Thread mojo
Hi. I was able to build survey kinda project using dynamic forms. Are you interested in oldforms or newforms? -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 5:45 PM To: Django users

CheckboxSelectMultiple widget

2007-01-16 Thread mojo
hi, when i use CheckboxSelectMultiple in my form, all checkboxes for the field are rendered with same ids. is this mine or django's problem? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

RE: dynamic newforms in a template

2007-01-14 Thread mojo
Try something around {{ for field in form }} {{ field }} {{ endfor }} Works for me. -Original Message- From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gkelly Sent: Tuesday, January 09, 2007 9:21 PM To: Django users Subject: Re: dynamic newforms in a

Re: newforms validation

2006-12-29 Thread mojo
I tried to implement what I want, please review (this example works for me): patch: Index: fields.py === --- fields.py (revision 4253) +++ fields.py (working copy) @@ -33,7 +33,7 @@ # Tracks each time a Field instance is

newforms validation

2006-12-29 Thread mojo
Hi, Is it possible to set list of validators for field? (looking through the code my guess is no). Should I implement my own field classes with custom validation (overloading clean()) or what? I think that validator_list argument in oldforms was quite convenient. Thanks.