Django Tools SEO
Simple Django app to manage project SEO like Google Analytics
Installation
-
Install with pip install
django-tools-seo. -
Add
djtools.seoto your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'djtools.seo',
]
- If you want to add the Google Analytics Tracking Script you should 3.1 Add you Google Analytics Tracking ID to your settings file:
GOOGLE_ANALYTICS_TRACKING_ID = "UA-TESTID"
3.2 Add a context processor to your settings file:
TEMPLATES = [
{
...
'OPTIONS': {
'context_processors': [
...
'djtools.seo.context_processors.google_analytics',
],
},
},
]
3.3 Include the google_analytics.html into your base template:
{% include "djtools/seo/google_analytics.html" %}
Metadata
Release files for django-tools-seo 1.0.6
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-tools-seo-1.0.6.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_tools_seo-1.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / django-tools-seo-1.0.6.tar.gz
| Download URL | django-tools-seo-1.0.6.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb0085dd40a6867cfc4708d13bca612ebdc637bbd232a9f70cba9d255df1474b
|
|
BLAKE2b-256 checksum How to use checksums |
90f1d80a2d2e04937a47700e1348797e3b20bcf2f727066e50c999baaf1a08ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / django_tools_seo-1.0.6-py3-none-any.whl
| Download URL | django_tools_seo-1.0.6-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c5d0babffb0794d743625cb37c055a00795309d059dfbc2f0ba862fcd369d56
|
|
BLAKE2b-256 checksum How to use checksums |
b975fd6105ad719633bbb99f256bcfe00a2f5fbff7f7cb770f8045a92ed79c20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|