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.2.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.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.2.tar.gz
Algorithm Hash digest
SHA256 f721bdd21e7f1a6bc04905174e4ef7d9f4a3218fb7647fc5b071bc36b372fab2
MD5 a27ae1bcbe721d8890b5ded3b94c60fb
BLAKE2b-256 22e977d647c544d96a64c6127c7e621c345d1e4ab527bd9dc230b6f7faa56d70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_graphql_app_setup-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37760abf776b1403921fa896e6104b0bc5ae5b890aa9ab685d9c9ee3ada8d105
MD5 2f34206163595b9c6b87ca138539fdff
BLAKE2b-256 ecefc8e407a0b58e112bff9eb72112ef2df3e7ae02f31d74e1173a9890b823c0

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