Skip to main content

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
--------------------

pip install django-nomnom

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


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.5.tar.gz (17.4 kB view details)

Uploaded Source

File details

Details for the file django-nomnom-0.1.5.tar.gz.

File metadata

File hashes

Hashes for django-nomnom-0.1.5.tar.gz
Algorithm Hash digest
SHA256 512047eebae152390a56e5314e7dbecd45e2d4cc9752d95e93d80d6e891e2688
MD5 89119ad7e6aa78fe585b504a0b53ad30
BLAKE2b-256 2fcb886d1074adaf45139534b2190e579a48b762018c1c977d3b8fe375da072c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page