On Mon, Aug 21, 2017 at 5:16 AM, Chris Wedgwood wrote:
> Hi
>
> My requirement is
>
> 1)User adds postcode to form
> 2)I call external api with postcode to get details of the
> postcode,local authority,MP etc
> 3) save this data into another model
> My question is what is
On Mon, Aug 21, 2017 at 7:50 AM, Axel Rau wrote:
> While upgrading from 1.9 to 1.11, ForwardManyToOneDescriptor.__set__()
> tries to assign a string (description of the related instance) to the
> related user name field
> of user model.
>
> class
While upgrading from 1.9 to 1.11, ForwardManyToOneDescriptor.__set__()
tries to assign a string (description of the related instance) to the related
user name field
of user model.
class AbstractEmailUser(AbstractBaseUser, PermissionsMixin,
FieldlistForDetailTemplateMixin):
localemail =
Hi.
First you need to decide is it crucial that api gets called no matter of
what and do you need to report result of call back to user.
If yes you want to store task of calling somewhere (database) and do the
actual calling at background worker job.
There exist several ways to do it but for
Hi
My requirement is
1)User adds postcode to form
2)I call external api with postcode to get details of the
postcode,local authority,MP etc
3) save this data into another model
My question is what is the correct pattern for doing this? Where
should I call the api?
Should this be done before the
I have to buld a django app which is used internally in a company, only
employees can access the app using username and password. Now, since it is
only used internally, I don't want to write HTML code myself but I want to
use the bootstrap template AdminLTE2 as frontend which should be
Hi All,
I'm seeing this error when I start my uwsgi
> Exception Type: AttributeError Exception Value:
>
> 'ModelFormOptions' object has no attribute 'label'
> Exception Location:
/opt/virtualenvs/traceback/lib/python3.4/site-packages/django/forms/models.py
in _get_foreign_key, line 1023
7 matches
Mail list logo