I create a site in Django and here is my Question How to make something like this:
On init (for example, when someone run "syncdb"?) I need to create a group with permissions and extend superuser profile from User to UserProfile(when user register it's not a problem but first admin/superuser is autocreated when app is created)
because, after installation you need to manually perform these operations in the admin panel.
sorry for my English, it's hard to explain to me the problem. I hope you understand.
2 steps:
dumpdata
loaddata
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With