Other

项目介绍

imAsparky/django-cookiecutter 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 Other 许可证,目前获得 30 个 Star、4 次 Fork。

仓库全名
imAsparky/django-cookiecutter
开源许可证
Other
Star 数
30
Fork 数
4
未关闭 Issue
7

README 摘要

============================ Django 5.0+ Cookiecutter ============================ This GitHub repository has moved and is no longer updated here. Development of django-cookiecutter continues on Codeberg: https://codeberg.org/imAsparky/django-cookiecutter Please update your bookmarks, links, and dependencies to point there. Version = "0.29.5" Version 1.0.0 will signify the first stable Django build! This…

完整内容见 GitHub 原始 README 或本页 。

常见问题

django-cookiecutter 用什么语言开发?

主要使用 Python 编写,采用 Other 许可证,目前有 30 个 Star。

django-cookiecutter 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 django-cookiecutter 的源码?

可以直接克隆仓库:git clone https://github.com/imAsparky/django-cookiecutter.git,默认分支为 main;安装与运行步骤见仓库 README。

django-cookiecutter 最近还在维护吗?

仓库最近一次更新为 6月7日,当前有 7 个未关闭 Issue;Star 数为 30,可作为社区活跃度的参考。

关于

A Django project cookiecutter complete with built-in continuous delivery using GitHub actions.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
41
价值分
19
活跃状态
归档

语言占比

Batchfile
CSS
Dockerfile
HTML
JavaScript
Makefile
Python
Shell

Release

README

============================ Django 5.0+ Cookiecutter

**This GitHub repository has moved and is no longer updated here.**

Development of django-cookiecutter continues on Codeberg:
https://codeberg.org/imAsparky/django-cookiecutter

Please update your bookmarks, links, and dependencies to point there.

Version = “0.29.5”

Version 1.0.0 will signify the first stable Django build!

This cookiecutter uses django-tailwind by default. django-tailwind requires Node.js be installed on your development machine.

The minumum version for django-cookiecutter is Python 3.10 because Structural Pattern Matching <https://peps.python.org/pep-0636/>_ is used.

… image:: ./docs/source/_static/imgs/logo/logo-django-cookiecutter-1280x640.png :alt:

A Django_ project Cookiecutter_ complete with built-in continuous delivery using GitHub actions.

… _Django: https://www.djangoproject.com/ … _cookiecutter: https://github.com/cookiecutter/cookiecutter

… image:: https://img.shields.io/badge/dynamic/toml?url=https%3A%2F%2Fraw.githubusercontent.com%2FimAsparky%2Fdjango-cookiecutter%2Fmain%2Fpyproject.toml&query=project.dependencies&logo=Django&label=Versions&labelColor=%23092E20 :alt: Dynamic TOML Badge

… image:: https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FimAsparky%2Fdjango-cookiecutter%2Fmain%2Fpyproject.toml&logo=python :alt: Python Version from PEP 621 TOML

… image:: https://www.repostatus.org/badges/latest/moved.svg :alt: Project Status: Moved to https://codeberg.org/imAsparky/django-cookiecutter – The project has been moved to a new location, and the version at that location should be considered authoritative. :target: https://www.repostatus.org/#moved

… image:: https://app.codacy.com/project/badge/Grade/87fb6c8ef02d4433b87e483a9a926d62 :alt: Codacy Quality :target: https://www.codacy.com/gh/imAsparky/django-cookiecutter/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=imAsparky/django-cookiecutter&amp;utm_campaign=Badge_Grade

… image:: https://pyup.io/repos/github/imAsparky/django-cookiecutter/shield.svg :target: https://pyup.io/repos/github/imAsparky/django-cookiecutter/ :alt: Updates

… image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white :target: https://github.com/pre-commit/pre-commit :alt: pre-commit

… image:: https://readthedocs.org/projects/django-cookiecutter/badge/?version=latest :target: https://django-cookiecutter.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

… image:: https://img.shields.io/badge/ 📦🚀-semantic--release-e10079.svg :target: https://python-semantic-release.readthedocs.io/en/latest/ :alt: Python Sementic Release

Django Project Features

#. Easy for new users to learn Django with sensible defaults. Also, local and test environments default to using SQLite, Django’s bundled database. #. More advanced users can change the test environment database with an environment variable to match the production environment. See the How-to here. #. Django-allauth_ provides authentication. #. A CustomUser model, complete with tests and custom user types. See How-to Custom User_ for customisation options before your initial migration. #. Improved Admin panel security requires an authorised user to be logged in. The Admin panel now has the protections provided by django-allauth. #. htmx_ built in by default using django-htmx. #. django-tailwind and django-browser-reload_ built in by default. #. Customisable logging with rotating log files, see how-to-logging_.

If you are new to Django and Cookiecutters and would like to take it for a spin, see our tutorial, Create a Django-Cookiecutter Project_.

… _Django-allauth: https://django-allauth.readthedocs.io/en/latest/installation.html … _SQLite: https://www.sqlite.org/index.html … _How-to Custom User: https://django-cookiecutter.readthedocs.io/en/latest/how-tos/how-to-custom-user.html … _here: https://django-cookiecutter.readthedocs.io/en/latest/how-tos/how-to-test-env-settings.html … _Create a Django-Cookiecutter Project: https://django-cookiecutter.readthedocs.io/en/latest/tutorials/tutorial-create-django-project.html … _htmx: https://htmx.org/ … _django-htmx: https://github.com/adamchainz/django-htmx … _django-tailwind: https://github.com/timonweb/django-tailwind … _django-browser-reload: https://github.com/adamchainz/django-browser-reload … _how-to-logging: https://django-cookiecutter.readthedocs.io/en/latest/how-tos/how-to-logging.html

Django Project Creation Options

Customise your project with the following options when creating your django-cookiecutter.

If you are new to Django and arent sure what to select, choose the default setting to get the best new user experience.

Django Settings


#. Quickly configure common `Django settings`_ as you setup your project.

.. _Django settings: https://docs.djangoproject.com/en/4.2/ref/settings/

Docker
~~~~~~

#. Deploy to production with `Docker`_.

.. _Docker: https://www.docker.com/


Documentation
~~~~~~~~~~~~~

#. Add documentation using Sphinx with:

   #. `Furo`_, a clean modern theme,  with dark and light mode options.
   #. A `Copy Button`_ to assist your users copy text or code snippets.
   #. `Inline Tabs`_ to group similar items.
   #. Use markdown or restructured text.
#. Deploy to `Read the Docs`_.
#. A documentation framework with templates using the `Diátaxis framework`_
#. A Pre-generated Contributing How-to. Edit to suit your needs.

.. _Diátaxis framework: https://junction-box.readthedocs.io/en/latest/Document-Framework/diataxis-intro.html

GitHub Helpers
~~~~~~~~~~~~~~

#. A set of four custom GitHub Issues templates to help your users.
#. Create the local git repository and make the initial commit automatically.
#. A `Conventional commits`_
   style custom commits message template.

.. _Conventional commits: https://www.conventionalcommits.org/en/v1.0.0/

Workflow Helpers

#. Pre-commit for code quality help and a README badge. #. A Python Semantic Release GitHub action and a README badge. #. A test suite complete with py3.10, py3.11, Linux, macOS and Windows matrix.

Communication


#. Choose from five LICENSE types for open source projects.
#. Choose from three `Repository Status Badges`_.
   Quickly communicate to potential users.


.. _Furo: https://github.com/pradyunsg/furo
.. _Copy Button: https://sphinx-copybutton.readthedocs.io/en/latest/
.. _Inline Tabs: https://sphinx-inline-tabs.readthedocs.io/en/latest/
.. _Read the Docs: https://readthedocs.org/
.. _Repository Status Badges: https://www.repostatus.org/#concept

Dynamic Settings

Choose to add django-constance_ for dynamic Django settings, which allows you to:

#. Easily migrate your static settings to dynamic settings. #. Edit dynamic settings in the Django Admin interface.

See our django-constance How-to_ for more information.

… _django-constance: https://django-constance.readthedocs.io/en/latest/index.html … _django-constance How-to: https://django-cookiecutter.readthedocs.io/en/latest/how-tos/how-to-constance.html

Contributing

Contributions are very welcome and appreciated!

You can contribute in many ways.

See How-to Contribute <https://django-cookiecutter.readthedocs.io/en/ latest/how-tos/how-to-contribute.html>_ to help you get started.

Please take a moment to read our Code of Conduct <https://django-cookiecutter.readthedocs.io/en/latest/ code-of-conduct.html#code-of-conduct>_.

评论

暂无评论