{"id":18622356,"url":"https://github.com/marcanuy/django-slugs-example-app","last_synced_at":"2025-04-11T03:31:17.840Z","repository":{"id":40466713,"uuid":"170792385","full_name":"marcanuy/django-slugs-example-app","owner":"marcanuy","description":"A basic app to show how to add slugs to models","archived":false,"fork":false,"pushed_at":"2024-04-17T00:31:09.000Z","size":170,"stargazers_count":13,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T08:42:30.380Z","etag":null,"topics":["django","django-application","seo","slugify","url"],"latest_commit_sha":null,"homepage":"https://simpleit.rocks/python/django/generating-slugs-automatically-in-django-easy-solid-approaches/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcanuy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-15T02:53:55.000Z","updated_at":"2023-12-22T11:53:19.000Z","dependencies_parsed_at":"2022-08-09T21:20:24.916Z","dependency_job_id":null,"html_url":"https://github.com/marcanuy/django-slugs-example-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fdjango-slugs-example-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fdjango-slugs-example-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fdjango-slugs-example-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcanuy%2Fdjango-slugs-example-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcanuy","download_url":"https://codeload.github.com/marcanuy/django-slugs-example-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248335431,"owners_count":21086589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-application","seo","slugify","url"],"created_at":"2024-11-07T04:16:34.438Z","updated_at":"2025-04-11T03:31:16.641Z","avatar_url":"https://github.com/marcanuy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-slugs-example-app\nA basic app to show how to generate slugs based in a  model's field.\n\nThis app shows the concepts explained at: https://simpleit.rocks/python/django/generating-slugs-automatically-in-django-easy-solid-approaches/\n\nDemo: https://django-slugs-example-app.herokuapp.com/ (db reset daily)\n\n# Installation\n\n~~~ bash\npython3 -m venv ~/.virtualenvs/django-slugs-example-app\nsource ~/.virtualenvs/django-slugs-example-app/bin/activate\npip install -r requirements.txt\n./manage.py migrate\n~~~\n\nRun example site: `./manage.py runserver`.\n\n# Models\n\n![models](models.png \"models UML\")\n\n# URLs\n\n~~~\n/\tblog.views.ComparatorListView\tarticle-list\n/blog/\u003cint:pk\u003e-\u003cstr:slug\u003e/\tblog.views.ArticlePkAndSlugDetailView\tarticle-pk-slug-detail\n/blog/\u003cstr:slug\u003e\tblog.views.ArticleUniqueSlugDetailView\tarticleunique-slug\n/blog/create\tblog.views.ComparatorFormView\tarticle-create\n~~~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcanuy%2Fdjango-slugs-example-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcanuy%2Fdjango-slugs-example-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcanuy%2Fdjango-slugs-example-app/lists"}