fakejira-testing-app
This is sample code used in the Real Python article [Writing an Installable Django App](???). The article describes how to take an app from an existing Django project and make it a stand-alone installable package avilable on PyPI.
Installable App
This app models a list of items on a receipt. Each item has a description and a cost. A receipt may reference multiple items.
This app can be installed and used in your django project by:
$ pip install fakejira-testing-app
Edit your settings.py file to include ‘fakejira1’ in the INSTALLED_APPS listing.
INSTALLED_APPS = [
...
'fakejira1',
]
Edit your project urls.py file to import the URLs:
url_patterns = [
...
path('/', include('fakejira1.urls')),
]
Finally, add the models to your database:
$ ./manage.py migrate fakejira1
Metadata
Release files for django-fakejira-final-app 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-fakejira-final-app-0.1.tar.gz | 22.0 kB | Details |
Release files / django-fakejira-final-app-0.1.tar.gz
| Download URL | django-fakejira-final-app-0.1.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9384c344db15cc7bc73483c4148fa017e27aa5892086b88dae733f8ce30844d
|
|
BLAKE2b-256 checksum How to use checksums |
741d5fe3c2d38073e294de59ce35a84673f5daae35c80d5ddfeb784a682aa3bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
|