django-userpreferences (django-userpreferences)
=====================================
This Django_ app has for purpose to integrate easily for other apps to use.
It aims to be easily added into existing projects.
Installation
============
Depedencies
~~~~~~~~~~~
django-userpreferences requires django-picklefield.
When upgrading you need south.
Installing django-userpreferences
~~~~~~~~~~~~~~~~~~~~~~~~~~
Install into your python path using pip or easy_install::
pip install django-userpreferences
easy_install django-userpreferences
Add *'preferences'* to your INSTALLED_APPS in settings.py::
INSTALLED_APPS = (
...
'preferences',
)
Add *'(r'^preferences/', include('preferences.urls')'* to your urls::
urlpatterns = patterns( '',
....
(r'^preferences/', include('preferences.urls'),
)
Don't forget to run ::
./manage.py syncdb
to create the table that is going to receive the preferences.
And if you are using south (you need south if you are upgrading)::
./manage.py migrate
Changing the default separator
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
django-userpreferences uses a separator between the app name and the
preference name in forms. By default the separator is '/'. To override this
in the weird case you might be needing it in some variable name, you need
to change it in you settings.py file::
PREFERENCES_SEPARATOR = '/'
Metadata
Release files for django-userpreferences 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-userpreferences-0.1.tar.gz | 31.1 kB | Without provenance | Details |
Release files / django-userpreferences-0.1.tar.gz
| Download URL | django-userpreferences-0.1.tar.gz |
|---|---|
| Size | 31.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
207af43f48f9fe75f7aad7d9634fe749de989af4acabe0c269b54e59bf101041
|
|
BLAKE2b-256 checksum How to use checksums |
3010ea73354de4167d1bc144e699da750dce35da834eb29475d860b9bae6fa44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-userpreferences 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.