Installation

Requirements

  • Django 2.2
  • Python 3.5 - 3.7

Installing

  1. Install the app

    $ pip install major-event-log
    
  2. Add app and all dependencies to INSTALLED_APPS.

    INSTALLED_APPS = (
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      'major_event_log',
    )
    
  3. Include the URLs

    urlpatterns = [
      path('admin/', admin.site.urls),
      path('major-event-log/', include(('major_event_log.urls', 'major-event-log'),
          namespace="major-event-log"))
    ]
    
  4. Migrate/sync the database

    $ python manage.py migrate