Skip to main content

A boilerplate Django app package for easy integration

Project description

django-package-boilerplate

Current version: 0.1.3

Boilerplate for a Django Package

1. Installation

The preferred installation method is directly from pypi:

# Create promgen setting directory.
$ pip install -U django-package-boilerplate

2. Quickstart

In settings.py:

INSTALLED_APPS = [
    ...,
    'django_package_boilerplate'
]
  1. In urls.py:
from django.urls import path, include

urlpatterns = [
    ...,
    path('django_package_app/', include('django_package_boilerplate.urls')),
]
  1. Run python manage.py migrate Create the models.
$ python manage.py migrate

3. Configuration

  • Language setting: Todo

4. Update Package

In setup.cfg, upgrade version

[metadata]
name = django-package-boilerplate
version = x.x.x
...

Build package

$ python setup.py sdist bdist_wheel

Deploy package

$ twine upload --verbose dist/django-package-boilerplate-x.x.x.tar.gz

The MIT License

Copyright (c) 2023 Runners Co., Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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-package-boilerplate-0.1.3.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_package_boilerplate-0.1.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file django-package-boilerplate-0.1.3.tar.gz.

File metadata

File hashes

Hashes for django-package-boilerplate-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8894fd8cf6576e5fb77f0b529d6caf53b489fb60737e42142ae6d5a86e24ec76
MD5 6cb78fa3f961568d404f83b0f20270e2
BLAKE2b-256 899cff14317becde40b6d8ef4a8e8e960d5bdc7d049a6c279dea61ea4cddf2f6

See more details on using hashes here.

File details

Details for the file django_package_boilerplate-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for django_package_boilerplate-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7d571b72209b92e5a3debf4abc192a45101e11c736ab0c0f682e0f599658bbf
MD5 876b6fe91fbfd680711d7ef9d912b484
BLAKE2b-256 20e0f42bc5617baa5da8dcc9ccea512dc449f5829f6b0db9970ca557da105532

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page