Skip to content

A simple user content report system with RESTful api and Email Notification.

License

Notifications You must be signed in to change notification settings

axljones/django-user-report

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Content Report System

IOS apps may may require server side has a report system to ensure each content user created can be reporeted and removed. This small django app comes with those essential features that you don't have to implement yourself:

  1. Query, monitor all tickets users sent from front-end app on Django Admin Page.
  2. Admin can set priorities, delete content, banning users directly on the admin page.
  3. Built in REST api for front-end calling and sumbitting a ticket.
  4. By default, enabled Email notification to target User (content creator).

Quick start

  1. Add "report_system" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'report_system',
    ]
    
  2. Configure Those settings (Recommended):

    # REPORT SYSTEM
        REPORT_SLUG_MODEL_MAPPINGS = (
            ('user', AUTH_USER_MODEL),
            ('user_blog', 'blogs.blog'),
            ...
        )
        REPORT_EMAIL_RECEIVER_FIELDNAME = (
            (AUTH_USER_MODEL, None),
            ('blogs.blog', 'author'),
        )
        REPORT_EMAIL_FROM = DEFAULT_FROM_EMAIL
    
  3. Run python manage.py migrate to create the Report System Tickets models.

About

A simple user content report system with RESTful api and Email Notification.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%