On Nov 8, 2007 1:46 PM, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> See if this is of any help:
> http://www.amitu.com/blog/2007/july/django-extending-user-model/
He-he, so you have already done something like my proposal. :) Nice.
But lets' listen what core developers think about making this the
Hi Guys,
I have a report that connects to a db and draws users details. What i need
help with is that for example in my template i need numbering to start from
1 - total entrants eg
1. name , surname etc...
2. name ...
{% if comp_list %}
{% for comp in comp_list %}
{{ comp.id }} # Although t
On Nov 8, 2007 5:08 PM, Alexander Solovyov <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Django have known trouble with default User object, which is not
> always appropriate for
> all applications, when they need additional information. Of course, we
> have solution with
> user profile and get_profile,
On Nov 8, 2007 6:38 AM, Alexander Solovyov <[EMAIL PROTECTED]> wrote:
> - (main trouble) if you have absolutely different applications, which
> use profile for their
> own purposes, you need to merge their Profile models - trouble is in
> the updating of
> this thing (f.e., you have forum, cre
Hi,
Django have known trouble with default User object, which is not
always appropriate for
all applications, when they need additional information. Of course, we
have solution with
user profile and get_profile, but it is not very nice solution and
have imperfections: ;-)
- it is not fetched auto
On 8 Lis, 12:54, "Alexander Solovyov" <[EMAIL PROTECTED]> wrote:
> On Nov 8, 2007 1:46 PM, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
>
> > See if this is of any help:
> >http://www.amitu.com/blog/2007/july/django-extending-user-model/
I have used a method called "lost theories solution" in the po
Marty Alchin a écrit :
> On 11/7/07, David Larlet <[EMAIL PROTECTED]> wrote:
>
>> Unfortunately, what happens with my Form is exactly what I'd like to do:
>> create a generic form from a Form class which define fields (with
>> widgets, etc) and methods and which is initialized with the content
On Nov 8, 2007 2:21 PM, Jonathan Buchanan <[EMAIL PROTECTED]> wrote:
> On this particular point, from the perspective of the reusable
> applications themselves, you don't need to worry about merging profile
> models, even if you are potentially working with many of them in your
> overall project.
On Nov 8, 2007 7:41 AM, Alexander Solovyov <[EMAIL PROTECTED]> wrote:
>
> On Nov 8, 2007 2:21 PM, Jonathan Buchanan <[EMAIL PROTECTED]> wrote:
> > On this particular point, from the perspective of the reusable
> > applications themselves, you don't need to worry about merging profile
> > models,
Hi Jake --
Please direct questions of this nature to django-users; django-dev is
used to discuss the development of Django itself, not to answer usage
questions.
Thanks!
Jacob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Hello,
I have implemeted a TimestampField that maps betweem unixtimestamps and
datetime.datetime objects, so i can use Datetime in Django while not
having to convert all timestamps to datetime fields yet. I need that for
downwards compatibility for an old application that uses the same
database.
On Wed, 2007-11-07 at 22:26 -0600, Joseph Kocherhans wrote:
> form_for_model and form_for_instance seem like complicated and clever
> ways to accomplish what basically boils down to a form that has a save
> method and can accept a model instance in its constructor method.
>
> I propose we (or I r
Hi.
I have noted that Firefox does not caches well the pages of Django
documentation:
GET /documentation/cache/ HTTP/1.1
Host: www.djangoproject.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.1.8)
Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.6+2.0.0.8-0etch1)
Accept:
text/xml,a
On Thu, 2007-11-08 at 16:40 +0100, Winsley von Spee wrote:
> Hello,
>
> I have implemeted a TimestampField that maps betweem unixtimestamps and
> datetime.datetime objects, so i can use Datetime in Django while not
> having to convert all timestamps to datetime fields yet. I need that for
> downw
On Thu, 2007-11-08 at 22:08 +0100, Manlio Perillo wrote:
> Hi.
>
> I have noted that Firefox does not caches well the pages of Django
> documentation:
>
> GET /documentation/cache/ HTTP/1.1
> Host: www.djangoproject.com
> User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.8.1.8)
> Gecko/200
It seems silly that currently the auth message system calls
get_and_delete_messages for every request context (assuming you have
the auth context processor enabled, like it is by default).
1. You lose messages if you don't actually check for them
2. If you didn't check for it, and therefore won'
[EMAIL PROTECTED] said the following:
> Not sure why, but when I tried to submit a ticked for this it was
> rejected repeatedly as suspected spam.
If you register for a trac account it should avoid that issue.
--
Collin Grady
Academic politics is the most vicious and bitter form of politics,
b
Right now (unless I misread it) Django returns any non-callable
default value using "force_unicode". This means that if you have a
decimal field with a default value you have to save the model, and
then retrieve it back from the database for that model to return the
correct default value. I think
18 matches
Mail list logo