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.1.tar.gz (4.5 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.1-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3ec0b1a02bd67d9d695943212811e1ff5f21d7214a97e2c8c67be5f53fd9a7fd
MD5 f753d6625e786da5bc2f531bba28e995
BLAKE2b-256 18a4f85d7ce73c6f84a3793cc6e6666887d5ef69744eb9f3d2d47fce4abaf16d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 daff795833724da9cb52d35a6c5f4f165033242c19db0411928f0fa9376f59e2
MD5 62aa58465218f178927353e3314b6b01
BLAKE2b-256 526ddbc48e3a310e118722adb894534c29de260de70744f55b2585ca9702c355

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