Skip to main content

django-aid

Helper module used in general django applications

Django

Jinja2

django.jinja2.environment

Model

django.model.QuerySet

  • annotate_choices Annotate the get_FOO_display() values of fields where choices exist

DRF

ViewSet

  • viewsets.***ModelViewSet ViewSetMixin클래스를 상속받은 GenericViewSet. serializer_classes 속성을 사용하며, put 메서드에 대한 문서화를 해제한다.

Renderer

  • renderers.BrowsableAPIRenderer Form을 제거한 BrowsableAPIRendrer

Fields

  • fields.pk_model_field.PkModelField 특정 Model의 instance를 나타내는 Field 주어지는 데이터가 아래와 같을 경우를 처리

    # dict
    {'pk': 1} or {'id': 1}
    
    # literal (pk가 될 수 있는 숫자/문자 등의 고정 값)
    1 or '1'
    

    생성시에만 사용 가능하다

drf-yasg

  • drf_yasg.schema 문서화 생성 헬퍼 클래스

Metadata

Release files for django-aid 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-aid 0.1.10
File Size Uploaded
django-aid-0.1.10.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-aid 0.1.10
File Interpreter ABI Platform
django_aid-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / django-aid-0.1.10.tar.gz

Download URL django-aid-0.1.10.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
add0162c2bd4323591e3f241f5def7beb2ff6e928eaa421e26b9dbbe1345788d
BLAKE2b-256 checksum
How to use checksums
e0133a1c53bba1e0668bedaddd477f423c7d850899fb9118c4cf491aeb6cb733
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release files / django_aid-0.1.10-py3-none-any.whl

Download URL django_aid-0.1.10-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d547a22fb4f5103188fbad65c0f1e0416312a8ce6f226f16617cc755b390f36a
BLAKE2b-256 checksum
How to use checksums
819375b3192dda0d7eda6613c1751348d0de32919a11e97e58ffbb3b5825c974
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

1 release file

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page