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


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

History Node

0.0.0a0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
edc_base-0.1.2-py3-none-any.whl (31.1 kB) Copy SHA256 hash SHA256 Wheel py3 May 25, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page