Skip to main content

Basic features used in all PSU Django apps

Project description


Reusable Django app specifically for PSU's custom-built web applications.
It encapsulates the common functionality that we would otherwise need to program into each application we build. Features include:

  • PSU Single Sign-On (SSO)
  • Authentication and authorization features
  • Feature toggles
  • Template tags for our static content server

Quick Start


The following dependencies may be REQUIRED in your system:

  • libpq-dev
    sudo apt install libpq-dev

Start a PSU Base Enabled Project startproject \ 
--template=*some-path-to*/ \
--extension=py,md,env \

Configuring Your App

After starting a new project from the custom template (above):

  1. cd my_project_name
  2. pip install -r requirements.txt
  3. Review/Update the application metadata in
  4. Run migrations: python migrate

If you have the PSU Secret Key file, your site was configured to access Finti's test server. This will need to be overwritten in eventually. If you do not have the PSU Secret Key file, you'll need to set these prior to running your app.


Usage of the psu-base app is documented in Confluence.

For Developers

The version number must be updated for every PyPi release. The version number is in psu_base/

Document Changes

Record every change in docs/CHANGELOG.txt Document new features or significant changes to existing features in Confluence.

Publishing to PyPi

  1. Create accounts on PyPi and Test PyPi
  2. Create ~/.pypirc
    username: mikegostomski
    password: pa$$w0rd
    username: mikegostomski
    password: pa$$w0rd
  3. Ask an existing developer to add you as a collaborator - test and/or prod
  4. python sdist bdist_wheel --universal
  5. twine upload --repository testpypi dist/*
  6. twine upload dist/*
  7. Tag the release in Git. Don't forget to push the tag! Example:
git tag 0.1.2
git push origin 0.1.2 

Project details

Release history Release notifications | RSS feed

Download files

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

Files for psu-base, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size psu_base-1.2.1-py2.py3-none-any.whl (150.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size psu-base-1.2.1.tar.gz (101.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page