معرفی شرکت ها


django-jables-1.0


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

A better base model for Django with sensible defaults.
ویژگی مقدار
سیستم عامل -
نام فایل django-jables-1.0
نام django-jables
نسخه کتابخانه 1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Willywongi
ایمیل نویسنده pongi@pongi.it
آدرس صفحه اصلی https://github.com/willywongi/django-jables
آدرس اینترنتی https://pypi.org/project/django-jables/
مجوز GPL-3.0-or-later
Jean-Baptiste, aka Jables --- This package contains a single useful base model I was copying over and over onto every new project. It was time to package it up and reuse it. This is a basic model from which all the project's model should inherit. It is defined as "[abstract](https://docs.djangoproject.com/en/3.1/topics/db/models/#abstract-base-classes)". It defines a couple of basic fields every model should have: - an ID as CharField/[NanoID](https://github.com/puyuan/py-nanoid): this avoids that content could be "discovered" if using auto increment and instead is a better UUID - created_at: a datetime field with "auto_now_add", so we track when the model was created. - updated_at: a datetime field with "auto_now", so we track when the model was last updated. The name comes from Django Reinhart father, Jean-Baptiste (or Jables, for short). ### How to use it 1. Install this package as any other requirement to your project. 2. Add `jables` to your `INSTALLED_APPS`. 3. When creating models, inherit from `JBModel`: ```py from jables.models import JBModel class MyModel(JBModel): ... ```


نیازمندی

مقدار نام
>=3.2 Django
==2.0.0 nanoid


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

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl django-jables-1.0:

    pip install django-jables-1.0.whl


نصب پکیج tar.gz django-jables-1.0:

    pip install django-jables-1.0.tar.gz