- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
haiku = -> | |
adjs = [ | |
"autumn", "hidden", "bitter", "misty", "silent", "empty", "dry", "dark", | |
"summer", "icy", "delicate", "quiet", "white", "cool", "spring", "winter", | |
"patient", "twilight", "dawn", "crimson", "wispy", "weathered", "blue", | |
"billowing", "broken", "cold", "damp", "falling", "frosty", "green", | |
"long", "late", "lingering", "bold", "little", "morning", "muddy", "old", | |
"red", "rough", "still", "small", "sparkling", "throbbing", "shy", | |
"wandering", "withered", "wild", "black", "young", "holy", "solitary", | |
"fragrant", "aged", "snowy", "proud", "floral", "restless", "divine", |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
""" | |
Credit to the parker library (https://github.com/coxmediagroup/parker/) and their TastyPieHandler. | |
""" | |
req = HttpRequest() | |
resource = YourResource() | |
bundle = resource.build_bundle(obj=your_model) | |
bundle = resource.full_dehydrate(bundle) | |
bundle = resource.alter_detail_data_to_serialize(req, bundle) |
fs = require 'fs' | |
# Structure of cache file: | |
# | |
# { | |
# "path/to/output/file/1": { | |
# "cache": { | |
# "path/to/source/file/1": { | |
# "size" : <file size>, | |
# "mtime": <file modified time in ms>, |
###* | |
# Bootstrap Datepicker for Backbone.Forms | |
# | |
# Quick editor to create a Bootstrap style datepicker (instead of multiple of dropdowns) | |
# @see: https://github.com/eternicode/bootstrap-datepicker/ | |
# @usage: takes 5 optional schema options: format, minViewMode, autoclose, clearBtn and endDate | |
# Forked because I wanted to use only years as shown in the example below | |
schema: | |
MyDate: | |
type: "DatePicker" |
""" | |
Logical deletion for Django models. Uses is_void flag | |
to hide discarded items from queries. Overrides delete | |
methods to set flag and soft-delete instead of removing | |
rows from the database. | |
""" | |
from django.apps import apps | |
from django.contrib.admin.utils import NestedObjects | |
from django.db import models | |
from django.db.models import signals |