Skip to main content
[![Build Status](https://travis-ci.org/CSDTs/Django-pre-post.svg?branch=master)](https://travis-ci.org/CSDTs/Django-pre-post)[![Updates](https://pyup.io/repos/github/CSDTs/Django-pre-post/shield.svg)](https://pyup.io/repos/github/CSDTs/Django-pre-post/)


# Django-pre-post
This Django app provides the ability to create pre-post questions and answers. It was developed by the CSDTs team at RPI to embed pre-post tests for students in their website and to ease data collection.

# Installation & Integration

## Download and install:
Either use pip in terminal: `pip install django_pre_post`
Or add django_pre_post to your requirements / libraries file and run `pip install -r requirements.txt`

## Add the application to your site:
Include it in settings.py
```
INSTALLED_APPS = (
... your apps here ...
'django_pre_post',
)
```
Include it in URLS.py
```
urlpatterns = [
... your pages here...
url(r'^questionnaire/', include('django_pre_post.urls')),
]
```
# Testing

## Prerequisites
* VirtualBox
* Linux: sudo apt-get install virtualbox
* Windows & Mac: https://www.virtualbox.org/wiki/Downloads
* Vagrant
* Linux: sudo apt-get install vagrant
* Windows & Mac: https://www.vagrantup.com/downloads.html
* Git
* Linux: sudo apt-get install git
* Windows & Mac: https://git-scm.com/downloads
* For windows Make sure C:\Program Files\Git\usr\bin [is in your path variable](http://www.computerhope.com/issues/ch000549.htm)

## Setup
```shell
git clone https://github.com/CSnap/Django-pre-post #get the code
cd Django-pre-post
vagrant up #build the system in a virtual machine
vagrant ssh #enter the virtual machine
cd /vagrant
python manage.py runserver 0.0.0.0:8000 #run the server
```
Navigate to localhost:8002/admin/

Metadata

Release files for django-pre-post 1.1.1

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

Source distribution (sdist)

Source distribution for django-pre-post 1.1.1
File Size Uploaded Provenance Actions
django_pre_post-1.1.1.tar.gz 9.8 kB Without provenance Details for django_pre_post-1.1.1.tar.gz

Release files / django_pre_post-1.1.1.tar.gz

Download URL django_pre_post-1.1.1.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
78a704d890bd96e4e330147cba5e291c8da4d29d30bd9b414aa37a4564b26f28
BLAKE2b-256 checksum
How to use checksums
6c9a6b47d5712c2f83264dd6011c8b59420141e986453b41af22147b05e059d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-pre-post 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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