Templates and skeletons that can be quickly used and reused in Django-based projects. Also doubles as a personal knowledge repository.
Klaus J Zimmermann 2a7b68ab69 FINALLY added a gitignore lol | 7 år sedan | |
---|---|---|
blog | 7 år sedan | |
tasks | 7 år sedan | |
.gitignore | 7 år sedan | |
README.md | 7 år sedan |
These are part experiment, part productivity stuff that aims to "automate" the more boring parts of a Django development cycle. The directories are complete apps ready to be plugged in and styled to taste (no CSS, JS etc included).
To use it within a new project, do:
# clone this repo:
git clone https://notabug.org/kzimmermann/django-misc
# assuming django is installed with proper environment, create a new project:
django-admin startproject mysupercoolsite
# copy an app from the repo into your project
cp -r django-misc/blog mysupercoolsite
# edit your settings under INSTALLED_APPS to register the app:
vim mysupervoolsite/mysupercoolsite/settings.py
The app will automatically register itself in the admin site, so you can create your models' instances through it.
This repo does not ship with a "base" template, but rather a group of subtemplates that can be plugged into one of your liking. This should make integration with already-existing projects much faster.
pip install markdown
. Cannot upload images to posts yet.Copyright 2017 Klaus Zimmermann - released under the terms of the GNU GPL v3 (see LICENSE)