On 8/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> This ``sites'' thing seems useful to me, but I don't quite understand
> how I might use it. I can't find any documentation for it, so I get
> the feeling it may be deprecated.
Nope, it's not deprecated -- it's just not documented yet. Ba
This ``sites'' thing seems useful to me, but I don't quite understand
how I might use it. I can't find any documentation for it, so I get
the feeling it may be deprecated.
I'd like to see something the other way. As opposed to either removing
all tags or removing some tags, wouldn't it be more useful to list the
tags you wish to retain?
I wonder how Django's object-relational mapping handles update to
models? Let's say I want to replace one old field with two new fields.
Can this be handled more or less automatically? Will I lose values from
this one field, or whole table, or whole schema?
On 8/17/05, paolo <[EMAIL PROTECTED]> wrote:
> The model I'm using for 'customers' has a BooleanField called
> 'blocked'. I'd like that when blocked is True other fields won't be
> shown, or eventually won't be editable.
For customization like this, you can write some custom JavaScript that
alter
On 8/17/05, David S. <[EMAIL PROTECTED]> wrote:
> I am editing the admin index.html file so that it will ignore Core and Auth
> and
> just list the user defined models.
> But using :
> {% ifnotequal app.name 'Core' %}
> appears to have no effect.
>
> Am I misunderstanding this tag?
Currently, i
D'oh! I just finished sending a message about the same thing.
On 8/17/05, David S. <[EMAIL PROTECTED]> wrote:
>
> Some images are not showing up in admin. For example:
> "/media/img/admin/icon_searchbox.png" is not found.
In fact, it is sent - it's truncated.
>
> The images linked to in the
When I've been playing with Django I've often noticed broken images in
the admin interface - chasing the urls shows that they seem to resolve
to the correct files, but requesting the urls results in blank images
for .gifs and invalid files for .pngs (for example, the search icon
/media/img/admin/i
The model I'm using for 'customers' has a BooleanField called
'blocked'. I'd like that when blocked is True other fields won't be
shown, or eventually won't be editable.
How to obtain this?
Thanks
On 8/17/05, David S. <[EMAIL PROTECTED]> wrote:
>
> I am editing the admin index.html file so that it will ignore Core and Auth
> and
> just list the user defined models.
> But using :
> {% ifnotequal app.name 'Core' %}
> appears to have no effect.
>
> Am I misunderstanding this tag?
I think t
I am editing the admin index.html file so that it will ignore Core and Auth and
just list the user defined models.
But using :
{% ifnotequal app.name 'Core' %}
appears to have no effect.
Am I misunderstanding this tag?
Some images are not showing up in admin. For example:
"/media/img/admin/icon_searchbox.png" is not found.
The images linked to in the stylesheet work fine.
Is there configuration that fixes this?
On 8/17/05, paolo <[EMAIL PROTECTED]> wrote:
> I thought it was a valid option to fragment models' classes in more
> python modules, and import them inside
> project/apps/application/models/application.py
> However when i try django-admin.py sql application I get a traceback
> (http://django.paste
I thought it was a valid option to fragment models' classes in more
python modules, and import them inside
project/apps/application/models/application.py
However when i try django-admin.py sql application I get a traceback
(http://django.pastebin.com/339033)
Do you know what I'm doing wrong?
Tha
Is there any easy way to have two or more applications run
simultaneously? Having created one fully-working application, which
provides content for part of my site, I now want to construct another
which will provide site-global menus and other such features. However,
I see no easy way of working t
Thanks for the suggestion. I've implemented something similar.
What I'd really like, though is things that can be updated via the
admin interface (or whatever) and that I can use in the templates:
{% if global.foo %}
--B
sorry for being so quick to post, think I may have found what I was
looking for...
I think I was after the removetags filter
Hi All,
I'm wondering if there are any builtin methods for stripping malicious
code from chunks of html (eg. script, iframe etc.), or would I be best
served to check the form data and strip anything unwanted manually?
many thanks
Does radio_admin actually work? I've done the following:
meta.ManyToManyField(DayToHelp, radio_admin=True,
blank=True, null=True),
yet, I get a select list everywhere I try to reference that field.
Should I expect this to work for user forms, too?
The current way would *a
Seem to have a habit of answering my own questions - just copied them
from the django default directory and set up an Apache "SetHandler
none" for the apt directory.
20 matches
Mail list logo