Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.

A Django app to store basic informations about entities

License

Notifications You must be signed in to change notification settings

emencia/emencia-django-bazar

Repository files navigation

Emencia Django Bazar

A Django app to store basic informations about related entities (like customers, suppliers, ourselves, etc..).

Warning

Since 0.6.0 version, Django <= 1.8 support has been dropped, South migrations have moved to south_migration, initial Django migration start from last south migration and so if you want to upgrade you will need to fake the initial migration.

Requirements

Features

  • Note cards for entities: can contains content text or/and a file attachment;
  • Optional markup into note cards content (default is no markup, RestructuredText is easily available);
  • Django-CodeMirror usage if markup is used with RestructuredText;
  • Assets management with django-assets;
  • i18n usage for front interface;
  • Templates prototyped with Foundation5;
  • Tags for note cards using jQuery-Tags-Input into form;

Links

Install

Add bazar app and its requirements to your installed apps in settings :

INSTALLED_APPS = (
    ...
    'autobreadcrumbs',
    'localflavor',
    'taggit',
    'taggit_templatetags2',
    'djangocodemirror',
    'sendfile',
    'bazar',
    ...
)

Then add its settings :

from bazar.settings import *

See the app settings.py file to see what settings you can override.

Also there is some settings for requirements: taggit, djangocodemirror and sendfile. See their documentation for more details how to configure them properly.

And add its views to your main urls.py :

from django.conf.urls import url, patterns
from filebrowser.sites import site as filebrowser_site

urlpatterns = patterns('',
    ...
    url(r'^bazar/', include('bazar.urls', namespace='bazar')),
    ...
)

Finally install app models in your database using Django migrations:

python manage.py migrate

About

A Django app to store basic informations about entities

Resources

License

Stars

Watchers

Forks

Packages

No packages published