Skip to content

niotech/djangojames

 
 

Repository files navigation

DjangoJames

“The same procedure as last year? – The same procedure as every year”

Some usfull features:

  • Nice Form rendering
  • Some Form validation helpers
  • Thumbnail Model Field with advanced cropping methods (based on django-thumbs)
  • Export instances as csv
  • Simple XLS Response (including multiple sheets)
  • Easy statistics with Highchart.js
  • Improved admin theme with django-admin-tools
  • Advanced statistics admin module (including Goggle Analytics Stats)

Additional Management commands:

  • dumpdb: Dump project db
  • loaddump: Load a db dump
  • fooemails: Set fake emails
  • dumpalldata: Dump all data to json files
  • resetload: Recreate a databse and load jsons

Usage

Commands:

use manage.py -h

Admin enhancment:

In urls.py

urlpatterns = patterns('',
url(r'^james/', include('djangojames.urls')), 
)

In settings.py

INSTALLED_APPS = (
'djangojames',  
)

FIXTURE_DIRS = (
    os.path.join(PROJECT_ROOT, 'external_fixtures/'),
)

PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))

# Optional
ADMIN_TOOLS_THEMING_CSS = 'djangojames/css/admin_theming.css'
ADMIN_TOOLS_INDEX_DASHBOARD = 'djangojames.admin_dashboard.CustomIndexDashboard'

Dependencies

  • django >= 1.3.1

Optional

Admin enhancment:

  • django-admin-tools >=0.4.0
  • FeedParser >=5.0.1

Statistics

License

See LICENSE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published