{"id":18474665,"url":"https://github.com/chrisdrackett/django-support","last_synced_at":"2025-05-13T14:32:04.759Z","repository":{"id":1435393,"uuid":"1651137","full_name":"chrisdrackett/django-support","owner":"chrisdrackett","description":"A django app that includes helpers I use on most of my django projects.","archived":false,"fork":false,"pushed_at":"2015-04-01T21:53:44.000Z","size":173,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-25T08:05:54.163Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisdrackett.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-22T19:43:12.000Z","updated_at":"2017-08-23T10:10:04.000Z","dependencies_parsed_at":"2022-07-29T13:19:13.416Z","dependency_job_id":null,"html_url":"https://github.com/chrisdrackett/django-support","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdrackett%2Fdjango-support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdrackett%2Fdjango-support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdrackett%2Fdjango-support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisdrackett%2Fdjango-support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisdrackett","download_url":"https://codeload.github.com/chrisdrackett/django-support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253960321,"owners_count":21990845,"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":[],"created_at":"2024-11-06T10:30:14.946Z","updated_at":"2025-05-13T14:32:04.713Z","avatar_url":"https://github.com/chrisdrackett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"About\n=====\n\nThis app is a collection of \"stuff\" that I end up using on every django project. I'll be moving things into here as I run into them.\n\nInstallation\n============\n\nThe easy way to install is to use pip:\n\n    pip install django-support\n\nthen just add support to INSTALLED_APPS in settings.py:\n\n    INSTALLED_APPS = (\n    \t#...\n        'support',\n    )\n\nand context processors:\n    \n    TEMPLATE_CONTEXT_PROCESSORS = (\n        #...\n        'support.context_processors.app_name',\n    )\n\n\nBoom.\n\nSettings\n========\n\nPage Title\n----------\n\nThe page title is built using the `APP_NAME` variable from settings plus whatever you send to the template as `page_title`.\n\nThis will be rendered in the following way:\n\n    App Name | page_title\n\nValidators\n==========\n\n`validate_unique_email` and `validate_unique_username` are available for use. Both of these assume that you are using the django\nprovided `User` model and that you force both e-mails and usernames to be lower case.\n\nForms\n=====\n\nLocation\n--------\n\nif using the form location field you need to set `GET_CREATE_LOCATION_FUNCTION` in your settings.py.\n\nThis is a string path to a location function. This function should take a latitude and longitude and return a location object.\n\nsomething like:\n\n    def get_location(lat, lng):\n        # get your location object here\n        \n        return location_object\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdrackett%2Fdjango-support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisdrackett%2Fdjango-support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisdrackett%2Fdjango-support/lists"}