Django command messages (stdout)
Project description
Installation
$ pip install django-command-message
settings.py
INSTALLED_APPS+=['django_command_message']
migrate
$ python manage.py migrate
Features
- database messages
- admin
- print message if
settings.DEBUG==True
Models
model | table | columns/fields |
---|---|---|
Command |
django_command_message |
id ,command ,message ,created_at |
Examples
MessageMixin
from django_command_message.mixins import MessageMixin
class Command(MessageMixin,BaseCommand):
def handle(self, *args, **options):
self.message('message')
Message
model
from django_command_message.models import Message
Message(command='name',message="message").save()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django_command_message-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84cb8143287a2d644bc67263125385912463b4f3f103a28eff1ca7f449dba52e |
|
MD5 | 004c05d3149257c2bc5c0325f31e6d62 |
|
BLAKE2b-256 | 5eea5c6aebfc04a79fe8318512cb958da78f006570d4db0997bb4b01884bf30a |