معرفی شرکت ها


django-spinproject-2.5.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Opinionated version of `startproject` with some popular third-party packages. Starter pack includes: whitenoise, django-environ, logging, GitHub Scripts to Rule Them All, basic Dockerfile and Makefile.
ویژگی مقدار
سیستم عامل -
نام فایل django-spinproject-2.5.0
نام django-spinproject
نسخه کتابخانه 2.5.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده m1kc (Max Musatov)
ایمیل نویسنده m1kc@yandex.ru
آدرس صفحه اصلی https://github.com/m1kc/django-spinproject
آدرس اینترنتی https://pypi.org/project/django-spinproject/
مجوز MIT
# django-spinproject Opinionated version of `django-admin startproject` that intends to go further and do things that startproject can't do but most people will do anyway. Here's what you get: * ⚛️ **Whitenoise**: usually you don't need that during local development but one day you're going to deploy your project and find out that it ignores the `static/` folder when running under gunicorn — which is sorta fine because big applications usually serve static files separately via nginx. Smaller apps with small number of assets, however, usually serve them within the same process, which is what whitenoise is for. * 🔧 **settings.py**: it's slightly modified to also understand environment variables and `.env` files. This functionality requires the `django-environ` package. Also, app logger is mostly pre-configured for you. * 🔒 **Support for marking PostgreSQL databases as read-only**. * 🧰 `script/bootstrap` and other [scripts to rule them all](https://github.blog/2015-06-30-scripts-to-rule-them-all/) so your fellow developers and maintainers don't ask you how to run this thing. Current versions of these scripts optimized for use with [poetry](https://python-poetry.org/), but you can easily adapt them for any Python package manager. * 🏗️ **Dockerfile and .dockerignore**: one day your app will go to production, and we've got you covered. * 🏛️ **Gitlab CI config**: CI is a good thing. * ⚕️ **Pre-configured linter** so you can find some common problems automagically. * 🏃 **Pre-configured pytest** because you are going to need unit tests one day. * 🗃️ **Auto-checks if you forgot to create migrations** whenever you run tests or CI. * *️⃣ **.gitignore**: well, you know why. ## Requirements * \*nix system; * `django-admin` installed and available from `$PATH`. Generated files will work fine in Django >= 2.0, not tested in earlier versions. ## How to use * Install the package: `pip install django-spinproject` * Create a new project: `django-spinproject --create <path>` * OR initialize spinproject in your existing project's folder: `django-spinproject --init` You're all set. Now you can take a look at the list of available modules: `django-spinproject --help` Use `django-spinproject --enable` to enable a module, `django-spinproject --upgrade` to apply changes. ## Other commands * `--create PATH`: create django project in specified path * `--init`: create spinproject.json file * `--enable MODULE_TO_ENABLE [MODULE_TO_ENABLE ...]`: enable specified module(s). use 'all' to enable all modules * `--disable MODULE_TO_DISABLE`: disable specified module * `--upgrade [MODULE_TO_UPGRADE [MODULE_TO_UPGRADE ...]]`: upgrade (specified or all) enabled modules ## Available modules * `gitignore` — Creates `.gitignore` file suitable for most Django projects. * `srta` — Creates [Scripts to Rule Them All](https://github.blog/2015-06-30-scripts-to-rule-them-all/) (simplifies life a lot, you should check it out). * `pytest` — Creates `pytest.ini` and `.coveragerc` files. * `dockerfile` — Creates a Dockerfile. * `dockerignore` — Creates `.dockerignore` (you should totally do that). * `docker-scripts` — Creates additional SRTA scripts for building and pushing your Docker image. * `gitlab-ci` — Creates GitLab CI config, `.gitlab-ci.yml`. * `pg-readonly` — Creates a DatabaseWrapper class for readonly connection to PostgreSQL. * `settings` — Improves the default `settings.py`, adding support for envvars and `.env` files. Also enables Whitenoise and CLI logger. ## Planned features (for requests, create an issue or drop me a line at m1kc@yandex.ru) * login page template (see `experimental` branch) ## Changelog See the [Releases](https://github.com/m1kc/django-spinproject/releases) page.


نیازمندی

مقدار نام
>=3.1.2,<4.0.0 Jinja2


زبان مورد نیاز

مقدار نام
>=3.7,<4.0 Python


نحوه نصب


نصب پکیج whl django-spinproject-2.5.0:

    pip install django-spinproject-2.5.0.whl


نصب پکیج tar.gz django-spinproject-2.5.0:

    pip install django-spinproject-2.5.0.tar.gz