Skip to main content

Quickly build a professional web app using Django.

Project description

Forge

Quickly build a professional web app using Django.

Forge is a set of opinions for how to build with Django. It guides how you work, chooses what tools you use, and makes decisions so you don't have to.

At it's core, Forge is Django. But we've taken a number of steps to make it even easier to build and deploy a production-ready app on day one.

If you're an experienced Django user, you'll understand and (hopefully) agree with some of Forge's opinions. If you're new to Django or building web applications, we've simply removed questions that you might not even be aware of.

Forge will get you from zero to one on a revenue-generating SaaS, internal business application, or hobby project.

Quickstart

Start a new project in 5 minutes:

curl -sSL https://forgepackages.com/quickstart.py | python3 - my-project

Forge Django quickstart

What's included

Things that come with Forge, that you won't get from Django itself:

  • Configure settings with environment variables
  • A minimal settings.py with sane, opinionated defaults
  • Extraneous files (manage.py, wsgi.py, asgi.py) have been removed unless you need to customize them
  • Send emails using Django templates (ex. templates/email/welcome.html)
  • Default form rendering with Tailwind classes
  • Login in with email address (in addition to usernames)
  • Abstract models for common uses (UUIDs, created_at, updated_at, etc.)
  • Test using pytest and pytest-django
  • Default HTTP error templates (400, 403, 404, 500)
  • Default Tailwind-styled password change and password reset templates
  • Default Tailwind-styled login template
  • Default Tailwind-styled sign up template
  • Start with a custom user model (users.User)
  • Start with a "team" model (teams.Team)

We're also able to make some decisions about what tools you use with Django -- things that Django (rightfully) doesn't take a stance on:

All of this comes together with a forge CLI.

Existing projects

A lot (but not all) of the Forge features can be integrated into existing projects by installing select packages:

You can also look at the Forge starter-template, which is what the quickstart uses to start a new project.

Inspired by

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

forge-0.17.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

forge-0.17.0-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file forge-0.17.0.tar.gz.

File metadata

  • Download URL: forge-0.17.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for forge-0.17.0.tar.gz
Algorithm Hash digest
SHA256 1d8731b97f7c35559577c8b06e034ecae8182c45e0a5827ea307c34b1faec7bf
MD5 635f679c4f49ee43f1b6775d4aeacdb5
BLAKE2b-256 f7a52e14ffc8b3ec14a52a072989f69461f6554f621c90cf713ff58a3a0384d1

See more details on using hashes here.

File details

Details for the file forge-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: forge-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Linux/5.15.0-1017-azure

File hashes

Hashes for forge-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92c8f8e0a32deb48e93b38e452a459fac9d2de21df2c7c08c28a1ad197fde6df
MD5 50e7429b62023a4c730bda7be3044b6d
BLAKE2b-256 d80609648382af29c9ca59ada2dbe9e61007bd8d516677b51156ce14c019e5d0

See more details on using hashes here.

Supported by

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