Skip to main content

Useful Django fields for use with MySQL.

Project description

https://travis-ci.org/multiplay/django-mysql-fields.png?branch=master

A small collection of fields which we find useful for using MySQL as our Django database provider.

Requirements

Quickstart

  1. Install from pypi:

    pip3 install django-mysql-fields
  2. Add “django_mysql_fields” to your INSTALLED_APPS settings like this:

    INSTALLED_APPS = [
        ...
        'django_mysql_fields',
    ]

Fields

  • JSONField - Based on the Django contrib Postgres Field(excluding lookups).

  • UUIDField - For storing full UUID’s in MySQL.

Running Tests

  1. Download and install Virtualbox and Vagrant.

  2. Run Vagrant up installation:

    vagrant up
  3. You can then ssh into your newly created Vagrant install:

    vagrant ssh
  4. Activate virtualenv from within Vagrant:

    . venv/bin/activate
  5. Enter project folder from within Vagrant:

    cd django_mysql_fields
  6. Run tests:

    ./test.sh

Project details


Download files

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

Source Distribution

django_mysql_fields-0.1.1.tar.gz (5.1 kB view hashes)

Uploaded Source

Built Distribution

django_mysql_fields-0.1.1-py3-none-any.whl (9.4 kB view hashes)

Uploaded Python 3

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