Skip to main content

Simple and easy-to-use project for A/B testing.

Project description

<h1> Django-AB-project </h1>
<p>Here is my first package for <b>Django</b>. I tried to write it so that it would be easy for you to use this package.</p>

<p>It provide four function in and some models in</p>
<p>This would be easy to used this package with Generic views in Django, but this can be work properly in methods, just used another technic.</p>

(You can read about Generic Views in Django here -

<h2>How to install?</h2>
1. Use pip to download this package - <b><i>pip install django-AB-project</i></b>
2. Add <i>'ab',</i> to <b>INSTALLED_APPS</b> in
3. Configure your sessions - set in at the end of file (or where you want):
В В В В <b><i>SESSION_COOKIE_AGE</i> = 60 * 60 * 24</b>
In first line, if <b>True</b> sessions will be destroyed after browser close.
In second case means sessions will be destroyed after 24 hours.
You can edit this lines if you need.
4. Run <b><i>python makemigrations</i></b>, and <b><i>python migrate</i></b>
5. Run server (<i>python runserver</i>) and go to the admin page. If you see new line named <i>"Ab_Split_Testing"</i> and can click on them without error page - Congratulation! You successfully installed this package.

<h2>How to use?</h2>
<i>(Generic views version)</i>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_AB_project-1.1.0-py2.py3-none-any.whl (6.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Dec 2, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page