fields verbose
name. When using the standard Django CharField everything is fine.
When I set the field label explicitly in my code (label='Name'), both label
and form validation use the correct label.
I don't think this expected behaviour?
Just a simple
class MyCharField(forms.CharField):
pass
to start out
On Jul 30, 11:12 pm, Xiong Chiamiov wrote:
> On Jul 30, 7:27 am, Michael Anckaert
> wrote:
>
> > Hello everyone,
>
> > I subclassed the CharField but have run into this problem:
>
> How did
Hello everyone,
I'm sure this is something that has been done before, I just can't
figure out (or google) how to do it.
I want to create PK's on a model that are in the form of 2009001,
2009002, 2009003, etc. Simple creating a model method that appends the
year is not an option because I need mo
Hello everyone
On my current project I need a mix of builtin Django authentication and
oAuth2 sources. But when writing a custom authentication backend, when does
it get used? The docs say:
"""Once a user has authenticated, Django stores which backend was used to
authenticate the user in the user
The fact that you have to copy over the entire project directory (including
docs) shouldn't be an issue. If your application deployment is correctly
the user won't be able to access anything that isn't in your root
urlconfig.
If the issue is upload size you should be able to find benefit using
g our roadmap.
If you would like to help us out, please send an email to
platform@sinax.bewith some info about you. Ideas about what a good
hosting solution should
have are also very much appreciated.
*Kind regards*
Michael Anckaert
michael.ancka...@sinax.be
http://www.sinax.be
--
You received this me
On 18/06/13 17:00, smy28 wrote:
> I just installed Django and I'm trying to initially set up the server,
> as detailed in the 'Part 1' Tutorial. I haven't configured any
> settings yet. Whenever I run the command "python manage.py runserver",
> I get the following message:
>
>
>
> Validating models
On 18/06/13 17:37, smy28 wrote:
> Yes, I have attached the base.py file (which seems to be the one with
> the error, correct?)
>
> On Tuesday, June 18, 2013 11:11:52 AM UTC-4, Michael Anckaert wrote:
>
> On 18/06/13 17:00, smy28 wrote:
> > I just installed
On 18/06/13 17:46, smy28 wrote:
> No, I haven't edited anything yet. Okay, I attached a models.py file
> from django/contrib/auth
>
> On Tuesday, June 18, 2013 11:39:09 AM UTC-4, Michael Anckaert wrote:
>
> On 18/06/13 17:37, smy28 wrote:
>> Yes, I have att
you need to perform a task but don't want to keep the user waiting,
you should look into Celery. This is a Distributed Task Queue: you can
start a task that a worker will execute in the backend. Your view can
return immediately, being very responsive to the user. In the meanwhile
the worker will perform the extra work in the background.
--
Kind regards
Michael Anckaert
signature.asc
Description: OpenPGP digital signature
10 matches
Mail list logo