All Projects → marcanuy → django-slugs-example-app

marcanuy / django-slugs-example-app

Licence: MIT license
A basic app to show how to add slugs to models

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to django-slugs-example-app

Omeka-plugin-CleanUrl
Omeka plugin that allows to have clean, searchable and readable URL like https://example.com/my_collection/dc:identifier instead of https://example.com/items/show/internal_code.
Stars: ✭ 13 (+8.33%)
Mutual labels:  url, seo
mongoose-slug-plugin
Slugs for Mongoose with history and i18n support (uses speakingurl by default, but you can use any slug library such as limax, slugify, mollusc, or slugme)
Stars: ✭ 21 (+75%)
Mutual labels:  seo, slugify
Limax
Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.
Stars: ✭ 423 (+3425%)
Mutual labels:  url, seo
mongoose-slug-updater
Schema-based slug plugin for Mongoose - single/compound - unique over collection/group - nested docs/arrays - relative/abs paths - sync on change: create/save/update/updateOne/updateMany/findOneAndUpdate tracked - $set operator - counter/shortId
Stars: ✭ 37 (+208.33%)
Mutual labels:  url, slugify
seourls
phpBB Extension: URL rewriting for phpBB forums
Stars: ✭ 44 (+266.67%)
Mutual labels:  url, seo
Slugify
Simple Slug / Clean URL generator helper for Microsoft .NET framework / .NET Standard.
Stars: ✭ 53 (+341.67%)
Mutual labels:  url, slugify
Prestashop Clean Urls
Prestashop module. This override module allows to remove IDs from URLs
Stars: ✭ 87 (+625%)
Mutual labels:  url, seo
Connector
Коннектор: удобный HTTP-клиент для 1С:Предприятие 8
Stars: ✭ 240 (+1900%)
Mutual labels:  url
bifrost
🌉 The rainbow bridge. URL shortener for Vercel.
Stars: ✭ 28 (+133.33%)
Mutual labels:  url
Scala Uri
Simple scala library for building and parsing URIs
Stars: ✭ 225 (+1775%)
Mutual labels:  url
Unbescape
Advanced yet easy to use escaping library for Java
Stars: ✭ 207 (+1625%)
Mutual labels:  url
Go Http Tunnel
Fast and secure tunnels over HTTP/2
Stars: ✭ 2,786 (+23116.67%)
Mutual labels:  url
Python For SEO
A 16-Part Free Course Demonstrating All Of The Different Ways That You Can Use Python To Improve Your SEO Processes.
Stars: ✭ 116 (+866.67%)
Mutual labels:  seo
Pguri
uri type for PostgreSQL
Stars: ✭ 235 (+1858.33%)
Mutual labels:  url
seo-audits-toolkit
SEO & Security Audit for Websites. Lighthouse & Security Headers crawler, Sitemap/Keywords/Images Extractor, Summarizer, etc ...
Stars: ✭ 311 (+2491.67%)
Mutual labels:  seo
Urlhub
URL shortener web application based on the Laravel PHP Framework.
Stars: ✭ 217 (+1708.33%)
Mutual labels:  url
url-survival-check
批量检测URL存活
Stars: ✭ 44 (+266.67%)
Mutual labels:  url
linkify
Rust library to find links such as URLs and email addresses in plain text, handling surrounding punctuation correctly
Stars: ✭ 146 (+1116.67%)
Mutual labels:  url
django-shortcodes
A Django application to parse WordPress shortcodes.
Stars: ✭ 13 (+8.33%)
Mutual labels:  django-application
use-route-as-state
Use React Router route and query string as component state
Stars: ✭ 37 (+208.33%)
Mutual labels:  url

django-slugs-example-app

A basic app to show how to generate slugs based in a model's field.

This app shows the concepts explained at: https://simpleit.rocks/python/django/generating-slugs-automatically-in-django-easy-solid-approaches/

Demo: https://django-slugs-example-app.herokuapp.com/ (db reset daily)

Installation

python3 -m venv ~/.virtualenvs/django-slugs-example-app
source ~/.virtualenvs/django-slugs-example-app/bin/activate
pip install -r requirements.txt
./manage.py migrate

Run example site: ./manage.py runserver.

Models

models

URLs

/	blog.views.ComparatorListView	article-list
/blog/<int:pk>-<str:slug>/	blog.views.ArticlePkAndSlugDetailView	article-pk-slug-detail
/blog/<str:slug>	blog.views.ArticleUniqueSlugDetailView	articleunique-slug
/blog/create	blog.views.ComparatorFormView	article-create
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].