Skip to content

djaodjin/djaodjin-pages

Repository files navigation

djaodjin-pages is a Django application that implements a Content Management System (CMS) for practices sharing.

Major Features:

  • Hierachical structure of content elements
  • Text edition (optional: markdown syntax)
  • Media gallery (drag'n'drop in markdown or media placeholder)

Development

After cloning the repository, create a virtualenv environment, install the prerequisites, create the database then run the testsite webapp.


    $ python -m venv .venv
    $ source .venv/bin/activate
    $ pip install -r testsite/requirements.txt

    # Installs Javascript prerequisites to run in the browser
    $ make vendor-assets-prerequisites

    # Create the testsite database
    $ make initdb

    # Run the testsite server
    $ python manage.py runserver

    # Browse http://localhost:8000/

Release Notes

Tested with

  • Python: 3.7, Django: 3.2 (LTS)
  • Python: 3.10, Django: 4.2 (latest)
  • Python: 2.7, Django: 1.11 (legacy) - use testsite/requirements-legacy.txt

0.8.1

  • loads commenter picture/name from profile API
  • makes API endpoint with or without account slug depending on URL pattern
  • handles updates to django-storages>=1.14 properly
  • newsfeed API for updates to PageElement a user follows (experimental)

previous release notes

Version 0.4.3 is the last version that contains the HTML templates online editor. This functionality was moved to djaodjin-extended-templates as of version 0.5.0.