Generic importing tool for the Django admin site.
Project description
django-nomnom
=============
A generic importing tool for the Django admin site.
Developed with
--------------
* Python 2.7.x
* Django 1.4.x
Installation & Setup
--------------------
Currently you can install django-nomnom via pip like so:
pip install -e git+https://github.com/storyandstructure/django-nomnom.git#egg=nomnom
PyPI version is coming soon :)
After installation add 'nomnom' to your INSTALLED_APPS setting:
INSTALLED_APPS = (
...
'nomnom', # before the admin app
'django.contrib.admin',
...
)
Set up the project URLConf like so:
urlpatterns = patterns('',
...
url(r'^admin/', include('nomnom.urls')), # before admin url patterns
url(r'^admin/', include(admin.site.urls)),
...
)
Settings
--------
NomNom has the following settings available. You can set them in your project `settings.py`. If you don't set them it will assume the default values:
### NOMNOM\_DATA\_DIR
Saved files will be stored on this directory.
**Default:** `settings.MEDIA_ROOT + 'nomnom'`
Configure Export
----------------
from nomnom.actions import export_as_csv
class MyAdmin(admin.ModelAdmin):
actions = [export_as_csv_action()]
=============
A generic importing tool for the Django admin site.
Developed with
--------------
* Python 2.7.x
* Django 1.4.x
Installation & Setup
--------------------
Currently you can install django-nomnom via pip like so:
pip install -e git+https://github.com/storyandstructure/django-nomnom.git#egg=nomnom
PyPI version is coming soon :)
After installation add 'nomnom' to your INSTALLED_APPS setting:
INSTALLED_APPS = (
...
'nomnom', # before the admin app
'django.contrib.admin',
...
)
Set up the project URLConf like so:
urlpatterns = patterns('',
...
url(r'^admin/', include('nomnom.urls')), # before admin url patterns
url(r'^admin/', include(admin.site.urls)),
...
)
Settings
--------
NomNom has the following settings available. You can set them in your project `settings.py`. If you don't set them it will assume the default values:
### NOMNOM\_DATA\_DIR
Saved files will be stored on this directory.
**Default:** `settings.MEDIA_ROOT + 'nomnom'`
Configure Export
----------------
from nomnom.actions import export_as_csv
class MyAdmin(admin.ModelAdmin):
actions = [export_as_csv_action()]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-nomnom-0.1.4.tar.gz
(17.1 kB
view details)
File details
Details for the file django-nomnom-0.1.4.tar.gz
.
File metadata
- Download URL: django-nomnom-0.1.4.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a549ff04b96a3467df2c5bae4dc4f76ec2cd85bb386353d829aaae0e592508a2 |
|
MD5 | 340db1e9053e144ff15c04f4ff1281b9 |
|
BLAKE2b-256 | f7d7ba30adad7bc108cf0fc277016cd0e45fd47c78fec283c384bfabbe82798b |