Giter VIP home page Giter VIP logo

jjediny / django-request Goto Github PK

View Code? Open in Web Editor NEW

This project forked from django-request/django-request

0.0 2.0 0.0 811 KB

django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online etc.

Home Page: https://django-request.readthedocs.org/en/latest/

License: Other

Python 28.17% JavaScript 66.61% HTML 5.22%

django-request's Introduction

django-request

Build Status

django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online etc.

Traffic graph

As well as a site statistics module, with the active_users template tag and manager method you can also use django-request to show who is online in a certain time.

Request.objects.active_users(minutes=15)

To find the request overview page, please click on Requests inside the admin, then “Overview” on the top right, next to “add”.

Installation

  • Put 'request' in your INSTALLED_APPS setting.
  • Run the command manage.py syncdb.
  • Add request.middleware.RequestMiddleware to MIDDLEWARE_CLASSES. If you use django.contrib.auth, place the RequestMiddleware after it. If you use django.contrib.flatpages place request.middleware.RequestMiddleware before it else flatpages will be marked as error pages in the admin panel.
  • Make sure that the domain name in django.contrib.sites admin is correct. This is used to calculate unique visitors and top referrers.

Detailed documentation

For a detailed documentation of django-request, or how to install django-request please see: django-request or the docs/ directory.

django-request's People

Contributors

aaronghent avatar camillo avatar cfingerh avatar defcube avatar derecho avatar felixxm avatar gnublade avatar grunichev avatar jezdez avatar kylef avatar mgalgs avatar montylounge avatar outime avatar pivolan avatar robmessick avatar unxavi avatar vlevit avatar zorainc avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.