Skip to main content
<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 utils.py and some models in models.py.</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 - https://docs.djangoproject.com/en/1.11/topics/class-based-views/)

<h2>How to install?</h2>
1. Use pip to download this package - <b><i>pip install django-AB-project</i></b>
<br>
2. Add <i>'ab',</i> to <b>INSTALLED_APPS</b> in settings.py
<br>
3. Configure your sessions - set in settings.py at the end of file (or where you want):
<br>
В В В В <b><i>SESSION_EXPIRE_AT_BROWSER_CLOSE</i> = True</b>
<br>
В В В В <b><i>SESSION_COOKIE_AGE</i> = 60 * 60 * 24</b>
<br>
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.
<br>
You can edit this lines if you need.
<br>
4. Run <b><i>python manage.py makemigrations</i></b>, and <b><i>python manage.py migrate</i></b>
<br>
5. Run server (<i>python manage.py 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>
<p></p>

Release files for django-AB-project 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-AB-project 1.1.0
File Interpreter ABI Platform
django_AB_project-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / django_AB_project-1.1.0-py2.py3-none-any.whl

Download URL django_AB_project-1.1.0-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
66809cb91721f1fa2b282207286995c52b3ce6fbc5701128c53e044341dd3799
BLAKE2b-256 checksum
How to use checksums
d8c4077b5cc2faf74905d67c41186ea00c699e9939d44f11e1b5be0d54d194ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page