From 5870881df587fcaea91eb27cb215147197da9aa3 Mon Sep 17 00:00:00 2001 From: Ed Rivas Date: Tue, 1 Feb 2022 00:36:25 -0600 Subject: [PATCH] chore: prepare for release --- .gitignore | 1 + README.md | 6 ++++++ file_router/__init__.py | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 26234ec..a8d6ee8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .venv .vscode +/dist *.sqlite3 *.egg-info __pycache__ diff --git a/README.md b/README.md index 50c9b8b..b8998e8 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,12 @@ File and folder-based routes for Django views. +## Installation + +``` +pip install django-file-router +``` + ## The problem Imagine you are creating a Django project with some CRUD views for your objects. How many files do you need to allow users to create a new object? diff --git a/file_router/__init__.py b/file_router/__init__.py index e37090f..b80a0fa 100644 --- a/file_router/__init__.py +++ b/file_router/__init__.py @@ -7,7 +7,7 @@ from django.template import RequestContext, Template from django.urls import path -__version__ = "9999dev0" # Managed by semantic-release, do not edit +__version__ = "0.1.0" def file_patterns(start_dir, append_slash=False):