Skip to main content

Domain name model field and form field for Django.

Project description


django-dominname is a simple django app including a model field and a form field to deal with Domain names.

Getting Started


  git clone
  cd djanago-domainname
  python install


  pip install django-domainname

2.Add django_dnf to installed list in settings file:

        INSTALLED_APPS = [

3.Use DomainNameField in your models and forms:

        from django.db import models
        from django_dnf.fields import DomainNameField

        class MyModel(models.Model):
              doamin = DomainNameField(blank=True)

        from django import forms
        from django_dnf.formfields import DomainNameField

        class MyForm(forms.Form):
        doamin = DomainNameField(blank=True)

Project details

Download files

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

Files for django-domainname, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size django_domainname-0.1.1-py2.py3-none-any.whl (17.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page