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.1.6.tar.gz (4.8 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.1.6-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.6.tar.gz
Algorithm Hash digest
SHA256 9b3948a6d2b2c3527ba1dc5b50f00c0d8fcb4a81a2aff77fcd79d2d97f906a1d
MD5 45eecb299865fcebd6bf4256456f5273
BLAKE2b-256 0feb6a3e94336bd4e8ac8896c2aa5a97a3341ba69f55e8e42fa50c19152b2638

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7236b304ae76e92a3283aaa79a93421fbfac14f3393d14e711a809050c09154b
MD5 d665788d31aee608f5843c2fdbc6a2d2
BLAKE2b-256 87336d50228854f71453043b21f59098867e3d18c535d33bb9b7f1cef8f48478

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