Base Application for Django projects
Project description
# Commons Django Application
Commons Application to Django projects
## Project Architecture
python (Contains a collections of reusable function) static files templates templatetags
## Package usage
To use this project, install the last version available on pypi [jnunes-commons](https://pypi.org/project/jnunes-commons/) For package install, run pip install jnunes-commons. After install, change your settings.py and add the dependency to INSTALLED_APP list, like this:
`python INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'commons', ] `
## Custom tags usage
To use the custom tags, on your template file, include: {% load static %}
## Override default files
If you need to display your own favicon.ico file, you can do that by creating the same directory structure in your project. For example: In your static files directory, create: commons/img/favicon.ico. The favicon.ico it’s your own image. When you run the collectstatic command, the default files will be overwritten.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jnunes-commons-0.3.20.tar.gz.
File metadata
- Download URL: jnunes-commons-0.3.20.tar.gz
- Upload date:
- Size: 600.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a63d07be65e2b34ab7e189073adf1726842ece2c06ea27efc989823e6ac35163
|
|
| MD5 |
22fddf24e6c2a7d1876f637115455de4
|
|
| BLAKE2b-256 |
994d7d4923d21e07d1e013fafc604a21a15609bac3344b0fa6974f9233b66905
|