Skip to main content

django-tips

https://badge.fury.io/py/django-tips.png https://travis-ci.org/trojsten/django-tips.png?branch=master

Show tip of the day cards on your site.

Quickstart

Install django-tips:

pip install django-tips

Then use it in a project:

import tips

Requirements

  • django

  • djangorestframework

  • markdown

Recommanded packages

  • django-sekizai

Building frontend

From tips_frontend directory run:

npm run dev

or production build:

npm run build

Usage

place where you want to show tips:

{% include "tips/tips.html" %}

include csrf-token ajax setup script if you have csrf protection enabled (you can find the script in the example):

<script src="{% static "js/csrf_token.js" %}"></script>

Development

pip install poetry
poetry install
cd example
./manage.py migrate
./manage.py loaddata fixtures/initial_data.json
./manage.py createsuperuser
./manage.py runserver

Credits

Tools used in rendering this package:

Metadata

Release files for django-tips 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tips 0.8.2
File Size Uploaded Provenance Actions
django-tips-0.8.2.tar.gz 569.9 kB Without provenance Details for django-tips-0.8.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-tips 0.8.2
File Interpreter ABI Platform Actions
django_tips-0.8.2-py3-none-any.whl Python 3 none any Details for django_tips-0.8.2-py3-none-any.whl

Total release size: 1.1 MB

Release files / django-tips-0.8.2.tar.gz

Download URL django-tips-0.8.2.tar.gz
Size 569.9 kB
Tags Source
SHA-256 checksum
How to use checksums
cda91a6652768034185f76bef578621153d462bcb4530216d27397c2960beb76
BLAKE2b-256 checksum
How to use checksums
59b07cf62123e1065b1b386c4fc09f3a9ac61192b90e7fcdb84cb8f77284d66d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.9 Linux/5.3.7-arch1-1-ARCH

Release files / django_tips-0.8.2-py3-none-any.whl

Download URL django_tips-0.8.2-py3-none-any.whl
Size 574.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fbbcf72777d001f4f86ba053ba512a3660749d3894e874767e4b02599779d25
BLAKE2b-256 checksum
How to use checksums
09195a6ef1aff3f760fddb5c2a2a7fb588f9774c731f56f94bdd034a72fe5065
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.17 CPython/3.6.9 Linux/5.3.7-arch1-1-ARCH

Security for django-tips 0.8.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page