On 11/29/05, Emanuele <[EMAIL PROTECTED]> wrote:
>
> Maybe it's a little off-topic, but I'm thinking about a problem I need
> to solve for a future application I want to code using django. And I
> think many of you can help me.
> Basically users will need to insert multiple images associated to
Hi all,
When you use a "tables" kwarg in a database query method (get_list,
etc), you provide a list of strings which correspond to the database
names of the tables you want to have joined. You can then specify a
"where" clause to narrow the join.
When the provided table name is used in the
Maybe it's a little off-topic, but I'm thinking about a problem I need
to solve for a future application I want to code using django. And I
think many of you can help me.
Basically users will need to insert multiple images associated to an
object and its features (images are pictures of that
Hello,
django.core.formfields.FormField has a method 'prepare' which is
described as a "Hook for doing something to new_data (in place) before
validation." which sounds very useful. But as far as I can tell it
never gets called. Am I missing something?
Daniel
On 11/29/05, Medium <[EMAIL PROTECTED]> wrote:
> I don't think it has anything to do with skill or their ability to pick
> it up and get use to it over time. You can say that about any syntax
> (good or bad). My main point i guess was that if someone saw django
> template at a glance (which is
Hi Olivier,
Django is undergoing some rapid changes before the 1.0 release and some
of the files are being relocated in the source tree. Unfortunately the
byte-compiled .pyc files are not managed by subversion and can get left
hanging about in places they aren't meant to be, but where Python
Hello,
when I try to access the admin site Django is complaining aout missing
adminmedia.py which is true.
There is a adminmedia.pyc instead.
svn up does not retrieve the file.
Debug message is:
AttributeError at /admin/
'module' object has no attribute 'register_tag'
Tequest Method:
> I don't think it has anything to do with skill or their ability to pick
> it up and get use to it over time. You can say that about any syntax
> (good or bad). My main point i guess was that if someone saw django
> template at a glance (which is usually how I evaluate things initially)
> the
On Nov 29, 2005, at 10:26 PM, Adrian Holovaty wrote:
class META:
db_table = 'anastas_users'
replaces_module = 'auth.users'
admin = meta.Admin()
# field names to remove from parent model
remove_fields = ['password', 'is_staff', 'is_superuser']
Would you
Hello Adrian Holovaty!
On Tue, 29 Nov 2005 08:26:11 -0600 you wrote:
> To "remove" fields in the parent class, use "remove_fields". For
> example:
[...]
>class META:
>db_table = 'anastas_users'
>replaces_module = 'auth.users'
>admin = meta.Admin()
># field
Tom Tobin wrote:
On 11/29/05, Medium <[EMAIL PROTECTED]> wrote:
Robert Wittams wrote:
Medium wrote:
4. Can we change the template {{ variable }} to something like
${variable} I don't mind the {% %} but {%starttag%}{{var}}{%endtag%}..
You can assume this is
OK, think I may have found the problem with this. In the settings.py,
ADMIN_MEDIA_PREFIX is set to /media/ by default. I'm going to sort
through the code, but I think that's the starting point.
Comments?
J
Hello!
I have forum on phpbb (about 2 users), and now want to integrate
auth with django. Went throgh legasy database doc and have this table:
class User(users.User):
user_id = meta.IntegerField()
user_active = meta.CharField(maxlength=1)
username = meta.CharField(maxlength=25)
13 matches
Mail list logo