Skip to main content

A Django management command to create apps with custom folder structures for graphql APIs.

Project description

Django GraphQL App Setup

A Django management command to create apps with custom folder structures for graphql APIs.

Installation

Install the package using pip:

pip install django-app-setup

Add the following to your settings.py file

INSTALLED_APPS = [
    ...
    "django_graphql_app_setup",
    ...
]

Usage

In your project directory, run the following command:

python manage.py startgqlapp <app_name>

or

cd /path/to/custom/directory

python ../../../../manage.py startgqlapp <app_name> --custom-directory /path/to/custom/directory

if you want the app in a custom directory. For example:

cd apps/custom

python ../../manage.py startgqlapp example --custom-directory apps/custom

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_graphql_app_setup-0.2.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_graphql_app_setup-0.2.4-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file django_graphql_app_setup-0.2.4.tar.gz.

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c80461e79f30901eddf26b7cdee764a11792b2dca48e56e61013ca905cd15aad
MD5 9ddb036b9cece89c08b5ee452b5571d4
BLAKE2b-256 f2356db46944520ef20b7026f0539ea63c71d0d0453e42c91b680ee6c633d2be

See more details on using hashes here.

File details

Details for the file django_graphql_app_setup-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a6a4eb340146dca68f39b1707d2ba3aa4847e3d06a4c9fb0573dd0c76cf50019
MD5 c97fe9c787d6e75581a4d07c5d3fd95d
BLAKE2b-256 956846d0996da9dc70909db2a44193721bcb85b69a17460e87639230792a749f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page