Skip to main content

Base models, forms and admin for botswana-harvard/edc modules.

Project description

[![Build Status](https://travis-ci.org/botswana-harvard/edc-base.svg?branch=develop)](https://travis-ci.org/botswana-harvard/edc-base) [![PyPI version](https://badge.fury.io/py/edc-base.svg)](http://badge.fury.io/py/edc-base) # edc-base

Base model, manager, field, validator, form and admin classes for Edc.

Installation

pip install edc-base

In the __settings__ file add:

STUDY_OPEN_DATETIME = datetime.today() STUDY_CLOSE_DATETIME = datetime.today()

Optional __settings__ attributes:

# phone number validtors # the default is ‘^[0-9+()#.s/ext-]+$’ TELEPHONE_REGEX = ‘^[2-8]{1}[0-9]{6}$’ CELLPHONE_REGEX = ‘^[7]{1}[12345678]{1}[0-9]{6}$’,

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

edc_base-0.1.2-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

Details for the file edc_base-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for edc_base-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f74300d38a9f4428fb6baafb2c7a7b56f1583772e3948b7a74b7a774b4eca08
MD5 e117ce8a00ba912d0f99a86465baff14
BLAKE2b-256 aefa950eb0d52531309610c849a50d748554c09283479c105c642f7aaae35c22

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page