ength
The book is a bit outdated, maxlength should become max_length
please do read: http://docs.djangoproject.com/en/dev/
and: http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
for more information about django and the changes in 1.0
Regards,
Roland van Laar
--~--~-~--~---
Chris wrote:
> I have been looking into using OpenId and I discovered that there are
> to 2 django libraries that handle this: django_openId and
> django_authopenid. Any opinions on the two? Not sure which one I
> should go with.
>
I depends on what you want to do, be a relying party, i.e. the
djan wrote:
> Hello.
>
> I'm following along with djangobook.com and trying to make necessary
> changes to port django to version 1.0. In Django's Site
> Administration, chapter 6, I run into the error:
>
>
> Exception Type: AlreadyRegistered
> Exception Value: The model Book is already
if not settings.DATABASE_ENGINE:
>
python can't find your configuration settings.py file.
You need to create a django application first.
Read: http://docs.djangoproject.com/en/dev/intro/tutorial01/
> What is the solution for this problem ?
>
>
Regards,
Roland van Laar
Steve Holden wrote:
> I am looking at expanding our training offerings for the coming year,
> and a short course in Django looks like it might be popular. There
> don't seem to be many Django classes at the moment, and several of the
> students from our introductory Python classes expressed intere
lready have a project, if you don't have one already,
buildout will generate one for you, with the name specified in base.cfg.
Regards,
Roland van Laar
> In the shell you're working in:
> $ export PYTHONPATH=~/pkg/django-trunk
> Then ./manage.py will find it without editing
.html', {
> 'pForm': pForm,
> 'message': message })
>
> The Template:
> {% extends "base_template.html" %}
> {% block title %} Update Alert {% endblock %}
>
n't have to know the random password, and
they can't login until they have set a new password.
And that way there is no need to have extra fields in the models.
Regards,
Roland van Laar
>
>
> pjv 写道:
>> thanks again. writing that login view is what i meant by re-
>>
ase post.
>
I implemented this for my work, the way to go was to make the
password_change view use a different form, by copying the code
and modifying the code to accept a different form.
See bug 8274
Regards,
roland van Laar
> Thanks,
> Scot
>
>
--~--~-~--~~
e"
>
You might want to do easy_install mysql-python or something equivalent
for python 2.6
Regards,
Roland van Laar
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
rer'), avg_days_instock=Avg('days_in_stock'))
The annotate fails because 'days_in_stock' is not a valid field:
FieldError: Cannot resolve keyword 'days_in_stock' into field. Choices
are: manufacturer, product, bought_date, sold_date
How can I calculate the average of
asis.
To me it seems that I need to do a Count and a avg_days_instock at the
same time?
Roland
> Ian
>
> On Tue, May 18, 2010 at 9:03 PM, Roland van Laar wrote:
>
>> Hello,
>>
>> Question: How do I calculate the Average of a calculated field.
>>
>> My (
On 01/09/2012 10:36 PM, jrief wrote:
Hi,
currently I am writing a Django applications built up from loosely
coupled plug-ins. Each of these plug-ins shall offer a class based
view to handle get and post requests. For get requests the context
shall be populated with plug-in specific data. For p
13 matches
Mail list logo