Skip to content

kdonaldson/django-nomnom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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()]

About

A generic importing tool for the Django admin site.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published