django-user-tel


Namedjango-user-tel JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/khasbilegt/django-user-tel
SummaryCustom, simple Django User model with telephone number as username
upload_time2023-03-15 14:21:23
maintainer
docs_urlNone
authorKhasbilegt.TS
requires_python>=3.8,<4.0
licenseMIT
keywords django model user telephone phone number username custom
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">
  django-user-tel
</h1>

<p align="center">
  <a href="https://github.com/khasbilegt/django-user-tel/">
    <img src="https://img.shields.io/github/workflow/status/khasbilegt/django-user-tel/test?label=CI&logo=github&style=for-the-badge" alt="ci status">
  </a>
  <a href="https://pypi.org/project/django-user-tel/">
    <img src="https://img.shields.io/pypi/v/django-user-tel?style=for-the-badge" alt="pypi link">
  </a>
  <a href="https://codecov.io/github/khasbilegt/django-user-tel">
    <img src="https://img.shields.io/codecov/c/github/khasbilegt/django-user-tel?logo=codecov&style=for-the-badge" alt="codecov">
  </a>
  <br>
  <a>
    <img src="https://img.shields.io/pypi/pyversions/django-user-tel?logo=python&style=for-the-badge" alt="supported python versions">
  </a>
  <a>
    <img src="https://img.shields.io/pypi/djversions/django-user-tel?logo=django&style=for-the-badge" alt="supported django versions">
  </a>
</p>

<p align="center">
  <a href="#installation">Installation</a> •
  <a href="#contributing">Contributing</a> •
  <a href="#license">License</a>
</p>

<p align="center">Custom, simple Django User model with phone number as username</p>

## Installation

1. Use your preferred package manager ([pip](https://pip.pypa.io/en/stable/), [poetry](https://pypi.org/project/poetry/), [pipenv](https://pypi.org/project/pipenv/)) to install the package. For example:

```bash
$ poetry add django-user-tel
```

2. Then register 'user_tel', in the 'INSTALLED_APPS' section of your project's settings.

```python
# settings.py
...

INSTALLED_APPS = (
    ...
    'user_tel',
)

...
```

3. Set AUTH_USER_MODEL - Since it's a custom User model Django needs to know the path of the model

```bash
# settings.py
...

AUTH_USER_MODEL = 'user_tel.User'

...
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License

[MIT License](https://choosealicense.com/licenses/mit/)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/khasbilegt/django-user-tel",
    "name": "django-user-tel",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "django,model,user,telephone,phone number,username,custom",
    "author": "Khasbilegt.TS",
    "author_email": "khasbilegt.ts@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ff/1e/a2e8c45ff3c5de73c42dfe2246b55f7c100ee9d8df619d04aa18af6b59ca/django_user_tel-1.0.1.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">\n  django-user-tel\n</h1>\n\n<p align=\"center\">\n  <a href=\"https://github.com/khasbilegt/django-user-tel/\">\n    <img src=\"https://img.shields.io/github/workflow/status/khasbilegt/django-user-tel/test?label=CI&logo=github&style=for-the-badge\" alt=\"ci status\">\n  </a>\n  <a href=\"https://pypi.org/project/django-user-tel/\">\n    <img src=\"https://img.shields.io/pypi/v/django-user-tel?style=for-the-badge\" alt=\"pypi link\">\n  </a>\n  <a href=\"https://codecov.io/github/khasbilegt/django-user-tel\">\n    <img src=\"https://img.shields.io/codecov/c/github/khasbilegt/django-user-tel?logo=codecov&style=for-the-badge\" alt=\"codecov\">\n  </a>\n  <br>\n  <a>\n    <img src=\"https://img.shields.io/pypi/pyversions/django-user-tel?logo=python&style=for-the-badge\" alt=\"supported python versions\">\n  </a>\n  <a>\n    <img src=\"https://img.shields.io/pypi/djversions/django-user-tel?logo=django&style=for-the-badge\" alt=\"supported django versions\">\n  </a>\n</p>\n\n<p align=\"center\">\n  <a href=\"#installation\">Installation</a> \u2022\n  <a href=\"#contributing\">Contributing</a> \u2022\n  <a href=\"#license\">License</a>\n</p>\n\n<p align=\"center\">Custom, simple Django User model with phone number as username</p>\n\n## Installation\n\n1. Use your preferred package manager ([pip](https://pip.pypa.io/en/stable/), [poetry](https://pypi.org/project/poetry/), [pipenv](https://pypi.org/project/pipenv/)) to install the package. For example:\n\n```bash\n$ poetry add django-user-tel\n```\n\n2. Then register 'user_tel', in the 'INSTALLED_APPS' section of your project's settings.\n\n```python\n# settings.py\n...\n\nINSTALLED_APPS = (\n    ...\n    'user_tel',\n)\n\n...\n```\n\n3. Set AUTH_USER_MODEL - Since it's a custom User model Django needs to know the path of the model\n\n```bash\n# settings.py\n...\n\nAUTH_USER_MODEL = 'user_tel.User'\n\n...\n```\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[MIT License](https://choosealicense.com/licenses/mit/)\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Custom, simple Django User model with telephone number as username",
    "version": "1.0.1",
    "split_keywords": [
        "django",
        "model",
        "user",
        "telephone",
        "phone number",
        "username",
        "custom"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "877f79f88720385c7548297e59d0280a9ad5c651fa8b91644cdd165e0d9f512c",
                "md5": "428d27bca5fc197398593063006b886f",
                "sha256": "28d6aedf9cd450dffb66c521a8252bf3430bbefe0fdc6ddb89051cc0b2f831ca"
            },
            "downloads": -1,
            "filename": "django_user_tel-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "428d27bca5fc197398593063006b886f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 8811,
            "upload_time": "2023-03-15T14:21:22",
            "upload_time_iso_8601": "2023-03-15T14:21:22.989093Z",
            "url": "https://files.pythonhosted.org/packages/87/7f/79f88720385c7548297e59d0280a9ad5c651fa8b91644cdd165e0d9f512c/django_user_tel-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff1ea2e8c45ff3c5de73c42dfe2246b55f7c100ee9d8df619d04aa18af6b59ca",
                "md5": "c957bcdf00c49cf79ee50394375cd428",
                "sha256": "ec65e2a5f49e5197e3e6988c9fa658a4f980a5505b97ee824d9a639f53cc4456"
            },
            "downloads": -1,
            "filename": "django_user_tel-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c957bcdf00c49cf79ee50394375cd428",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 5419,
            "upload_time": "2023-03-15T14:21:23",
            "upload_time_iso_8601": "2023-03-15T14:21:23.994217Z",
            "url": "https://files.pythonhosted.org/packages/ff/1e/a2e8c45ff3c5de73c42dfe2246b55f7c100ee9d8df619d04aa18af6b59ca/django_user_tel-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-15 14:21:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "khasbilegt",
    "github_project": "django-user-tel",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "django-user-tel"
}
        
Elapsed time: 0.04838s