Skip to content

morgangt/Counter-Object-for-Django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Counter Object for Django

Counting Hits

The main business-logic for evaluating and counting a Hit is done. You can use this class method directly in your own Views or you can use one of the Views packaged with this app.

Quick start

  1. Add a folder to the project

  2. Add "django_counter_field" to your INSTALLED_APPS setting:

INSTALLED_APPS = ( ... 'django_counter_field', )

  1. first get the related HitCount object for your model object

from apps.hitcounter.models import Counter

...

Counter.hit(MODEL)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages