Skip to content

Papagoat/django-tinymce-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Admin TinyMCE WYSIWYG Editor Demo

Prerequisite

  • Python => v3.7.2
  • venv
  • Django => v2.1.5
  • Django-tinymce => v2.8.0

Installation

  1. Download Python.

  2. Set up venv

  3. Activate your virtual environment

$ python3 -m venv myvenv
$ source ./myvenv/bin/activate
  1. Install django and django-tinymce
$ pip install django django-tinymce

or

$ pip install -r requirements.txt

Usage

cd into the demo directory and start the django server.

$ cd demo && python manage.py runserver

You may see an error in your terminal.

You have 15 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions. Run 'python manage.py migrate' to apply them.

$ python manage.py migrate

We need to create an admin username and password before we can access the admin dashboard.

$ python manage.py createsuperuser

Click into Demos -> Add Demo and you will see that the TinyMCE WYSIWYG editor is loaded.

Further reading

License

MIT License

Copyright (c) [2019] [Terence Lucas Yap]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Releases

No releases published

Packages

No packages published

Languages