Allow users to create site assets with django admin
The full documentation is at https://django-user-assets.readthedocs.io.
Install Django User Assets:
pip install django-user-assets
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'django.contrib.sites',
...
'user_assets.apps.UserAssetsConfig',
...
)
- Add different assets (script, style, e.t.c) to your site from admin panel
- Place your assets to any place on page with Asset Groups
- Attach your assets to specific sites from Django Sites Framework
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: