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
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.
Source Distributions
Built Distribution
File details
Details for the file edc_base-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: edc_base-0.1.2-py3-none-any.whl
- Upload date:
- Size: 31.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f74300d38a9f4428fb6baafb2c7a7b56f1583772e3948b7a74b7a774b4eca08 |
|
MD5 | e117ce8a00ba912d0f99a86465baff14 |
|
BLAKE2b-256 | aefa950eb0d52531309610c849a50d748554c09283479c105c642f7aaae35c22 |