greatkart-course
greatkart-course copied to clipboard
Added script to create user profiles for existing users
- Created a python script that will create UserProfile for all existing users.
- Used bulk_create to efficiently create entries.
To run script use below command
python manage.py runscript script_name
For reference: https://django-extensions.readthedocs.io/en/latest/runscript.html