Skip to main content

Django Char Field using Unum.

Project description

# django-unumcharfield Django Char Field using Unum

## Description UnumCharField is a simple Django app to use Unum through a CharField.

## Install Run the command in the terminal:

pip install django-unumcharfield

## Quick start 1. Import in your models.py:

from unumcharfield.models import UnumCharField
  1. Use it as CharField.

## Test 1. If you would like to check if UnumCharField is working fine, add UnumCharField demo application to your INSTALLED_APPS setting like this:

INSTALLED_APPS = [
    ...
    'unumcharfield.demo',
]
  1. Include the UnumCharField URLconf in your project urls.py like this:

    from django.urls import include
    ...
    path('unumcharfield/', include('unumcharfield.demo.urls')),
  2. Run python manage.py makemigrations demo to create the unumcharfield models.

  3. Run python manage.py migrate to create the unumcharfield models.

  4. Start the development server and visit http://127.0.0.1:8000/admin/ to create a unumcharfield (you’ll need the Admin app enabled).

  5. Visit http://127.0.0.1:8000/unumcharfield/ to check.

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-unumcharfield-0.3.tar.gz (14.8 kB view hashes)

Uploaded Source

Built Distribution

django_unumcharfield-0.3-py3-none-any.whl (18.8 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