question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'importusers' and “createsuperuser” management commands should not allow empty 'full name' field

See original GitHub issue

Observed behavior

The kolibri manage importusers command allows empty ‘full name’ fields when importing from CSV files and defaults them to the empty string. This allows Facility Users to be made who have an empty full name, which is not possible inside the Kolibri UI, and can cause layout issues.

Expected behavior

importusers doesn’t allow empty ‘full name’ fields.

User-facing consequences

Context

Kolibri 0.13

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
radinamaticcommented, Oct 30, 2019

This will almost certainly need user docs update, if not Gherkin scenarios too…

Remember the proper tags, people!!!

1reaction
jonboisercommented, Sep 6, 2019

createsuperuser is a built-in management command in Django, so might need to do something different to enforce a non-empty full_name.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the Django authentication system
Create superusers using the createsuperuser command: $ python manage.py createsuperuser --username=joe --email=joe@example.com. You will be prompted for a ...
Read more >
Error when creating a django superuser with Heroku
... /site-packages/django/contrib/auth/management/commands/createsuperuser.py", ... Can you post the contents of your models.py , signals.py ...
Read more >
How to Add User Authentication in Django Framework
You can create superusers straight from the createsuperuser command. To do this, go to 'python manage.py createsuperuser — username = jane ...
Read more >
django add user to from Code Example
You can continue to change its attributes # if you want to change other fields ... wintp python manage.py createsuperuser · django get_user_model()...
Read more >
Securing Hue - Cloudera Documentation
by running the following command: build/env/bin/hue createsuperuser --cm-managed. After creating a new admin user, log in to Hue and reset ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found