Hi,
Was wondering what's wrong with importing a model or a function from
a view which further imports a model.
Have been trying to tweak a default filter from html.py to use model
but unable to do so.
error: cannot import name models
Thanks
--~--~-~--~~~---~--~
Hi All,
I am facing a problem while trying to accept an uploaded image in PIL
whose name has some
chinese characters .
error = "No such file or directory"
on line 1400 i.e fp = __builtin__.open(fp, "wb") of Image.py in PIL
Is it a bug or something that I am missing. Files with names in
English
yes,
i've imported settings.
from django.conf import settings
On May 27, 9:52 pm, Sebastian Bauer <[EMAIL PROTECTED]> wrote:
> did you have this:
>
> import settings
>
> in files where you using settings variable?
>
> Mayank Dhingra pisze:
>
> > any tho
any suggestions/thoughts ?
On May 27, 11:46 pm, Mayank Dhingra <[EMAIL PROTECTED]> wrote:
> yes,
>
> i've imported settings.
>
> from django.conf import settings
>
> On May 27, 9:52 pm, Sebastian Bauer <[EMAIL PROTECTED]> wrote:
>
> > did you have t
Hi,
I was looking to add custom css to the fields of a (new)form that I
created using ModelForm
but couldn't find any mention or discussion on it.
Does any know know how can I achieve it ?
Thanks in advance,
--~--~-~--~~~---~--~~
You received this message becaus
.
>
> You'll have to specify the field types for your model, then widget
> types for each field, and the extra attributes go in the widget.
>
> Yrs,
> E
>
> On Jun 3, 2008, at 2:23 AM, Mayank Dhingra wrote:
>
>
>
> > Hi,
>
> > I was looking to add
n 5
times or so it gives the above mentioned error.
On May 30, 4:59 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, May 27, 2008 at 3:58 AM, Mayank Dhingra <[EMAIL PROTECTED]>
> wrote:
>
>
>
>
>
> > I am experiencing a strange problem while
did u try using the required parameter ?
In my case the default behavior was required and i
changed it to not-required by adding "required=False"
like
name = forms.CharField(widget=forms.TextInput(attrs=class_txtbox),
required=False)
On May 2, 10:18 am, zmalloc <[EMAIL PROTECTED]> wrote:
> Model
get=forms.TextInput(attrs={'class':'super'}))
> # other fields that need to be customized
> class Meta:
> model = Model_1
> # etc
>
> That ought to do it...
>
> E
>
> On Jun 3, 2008, at 3:02 PM, Mayank Dhingra wrote:
>
Hi Guys,
I needed a work around to add custom css in the default(oldforms)
password change form
that I am using . How to go about it ?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
no i need it for the main/base app that am building
On Jun 5, 2:44 am, "Juanjo Conti" <[EMAIL PROTECTED]> wrote:
> For the admin app?
>
> On Wed, Jun 4, 2008 at 4:08 PM, Mayank Dhingra <[EMAIL PROTECTED]> wrote:
>
> > Hi Guys,
>
> > I need
any suggestions anyone ?
On Jun 4, 9:22 am, Mayank Dhingra <[EMAIL PROTECTED]> wrote:
> traceback
>
> UnboundLocalError at /login/
> local variable 'settings' referenced before assignment
>
> Installed Middleware:
> ('
12 matches
Mail list logo