Re: django.contrib.auth CLI

2018-10-11 Thread Jamesie Pic
Hi smart nerds, I'm sorry if my sense of humour was too much to handle for you. But to compensate I offer the unfrustrating python CLI package, and at the same time most awesome CLI CRUD for Django to my knowledge, on yourlabs.io/oss/clilabs One last thing, verrry important for the record, in

Re: django.contrib.auth CLI

2018-10-11 Thread Jamesie Pic
Forgot a note about extreme devops: It's when you have an automatic deployment per feature branch (example ). GitLab even has a feature to help it called dynamic environments

Re: django.contrib.auth CLI

2018-10-11 Thread Jamesie Pic
Hello Ludovic, I'm glad this little joke tickled you, sorry for being that childish but sometimes I can't help it (I don't see how anybody could feel rationnaly offended since this joke talking about me). In reality, I've just been automating Django deployments for 10 year. So, if it takes 50

Re: django.contrib.auth CLI

2018-10-11 Thread ludovic coues
I'm sure your extreme DevOps expertise can find a way to automate the deployment of a pip package. I mean, you are argument about manual step for an automatic step is a straw man. Let's say you make two deployment of your app. One on your system, one on premises on a customer system. You want

Re: django.contrib.auth CLI

2018-10-11 Thread Jamesie Pic
Sorry, I forgot to answer about the loaddata proposal. So, loaddata will not do user removal for one thing. About user creation, the process we have is: - add the user to the users list, - set the password in `ansible-vault create passwords/username` - CM will execute createsuperuser for users,

Re: django.contrib.auth CLI

2018-10-11 Thread Jamesie Pic
Hi Adam, Yeah it would be funny, maybe I'm even the only Django user that automates deployments with a CM, or to take "ootb automation experience" up to that point (maybe because I have extreme DevOps expertise ?). Implementing this in a third party app is pointless: it will be more useful as

Re: django.contrib.auth CLI

2018-10-10 Thread Adam Johnson
This sounds like it could be useful but not sure how many projects manage their Django users through config management commands like this. Whilst you say it would be useful in core, if you had a concrete implementation in a third party app that would provide more to talk about, and allow you to