> Den 15. dec. 2017 kl. 22.18 skrev Alexander Joseph
> :
>
> I'm still new to django but I'm building an app that allows users to
> authenticate through Office365. I'm using this -
> https://github.com/Lamelos/django-allauth-office365
> and I got users to be able to successfully sign in with o
I'm still new to django but I'm building an app that allows users to
authenticate through Office365. I'm using this -
https://github.com/Lamelos/django-allauth-office365
and I got users to be able to successfully sign in with office365 but I now
need users to be able to upload documents to the
I'm porting a website from Django 1.6.x to 1.11 and I'm hitting a problem
with my custom router. Some models define a custom attribute defining which
database it will reside in:
class MyModel(models.Model):
DATABASE_NAME = "foo"
This worked in our custom router in 1.6.x but not in 1.11. The
Hi everyone,
Vital stats: MySQL, python 3.5, Ubuntu, not using South.
I'm upgrading from 1.9.5 to 1.11.8, and in amongst that there is a
migration to change to username field length in auth:
auth
[X] 0001_initial
[X] 0002_alter_permission_name_max_length
[X] 0003_alter_user_email_max_length
I've built a couple of basic django projects and would now like to add User
Authentication and SSL.
The objective is to be able to securely send data to/from a WIFI module
(ATWINC1500) <=> Django's database through normal http channels (no need
for anything fancy).
Can user login be compressed
Hi, I'm a beginner in Django.
I try implement both sides acces to m2m relation and I have found this old
article about it:
https://www.lasolution.be/blog/related-manytomanyfield-django-admin-site.html
Starting question:
1) is this still the good way in 2017/dj2.0? do we have something better
for
Please reply with the full error message. Also, I am pretty sure that
when pip fails to build something it also says "Full log message
available in /foo/bar/quuz.log". If it does, please also send the
contents of that log file.
Cheers
Tom
On Fri, Dec 15, 2017 at 12:41 AM, Aaron wrote:
> I wasn'
After more investigating, it seems that the problem was due to the
squashed migrations and the migrations they replaced both being
present. After removing all migrations (from our apps) listed in
"replaces" and fixing up the dependencies to not point at the old
squashed migration (which I guess was
I want to change option HTML attributes per option.
example:
```
1. a
2. b
```
I think that it is needed to pass extra-data from ChoiceField to
ChoiceWidget Select.
How can I do this?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I use the perms object in my templates.
{% if perms.app_name.fooperm %}
{% endif %}
See https://docs.djangoproject.com/en/2.0/topics/auth/default/#permissions
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of guettli
Sent: Friday, December 15, 2017 8:09 AM
T
Hi,
We define the permission like in the docs:
https://docs.djangoproject.com/en/1.11/topics/auth/customizing/#custom-permissions
To avoid the magic string 'fooapp.fooperm' in the code which uses the
permission very often, I choose this solution:
{{{
# file models.py
class FooModel(Model):
Hi all
I'm updating a project from Django 1.8 to 1.11, however the migrations
which ran correctly under 1.8 now raise a CircularDependencyError for
(effortless_auth.0001_initial, app.0028_create_south_korea_data_set,
effortless_auth.0003_add_dev_group,
app.0027_create_effortless_verticals), which
Thank you so so much Mathew Pava. I have seen the problem.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Matthew Pava
Sent: Thursday, December 14, 2017 9:26 PM
To: 'django-users@googlegroups.com'
Subject: RE: My Polls app question not displaying
Y
13 matches
Mail list logo