Django model for Japanese birthday.
Project description
django-jp-birthday
django-jp-birthday is a django’s model for use Japanese birthdays and ages.
Based library is https://github.com/bashu/django-birthday .
Authored by shimakaze_soft and some great
Features
TODO
Installation
$ pip install django-jp-birthday
$ python steup.py install
Usage
from jp_birthday.models import BirthdayModel
class ModelsTest(BirthdayModel):
class Meta:
app_label = 'jp_birthday'
ordering = ('pk',)
Get all user profiles within the next 30 days:
ModelsTest.objects.get_upcoming_birthdays()
Get all user profiles which have their birthday today:
ModelsTest.objects.get_birthdays()
Or order the user profiles according to their birthday:
ModelsTest.objects.order_by_birthday()
Docs
Documentation: https://django-jp-birthday.readthedocs.io.
License
django-jp-birthday is released under the MIT license.
History
0.1.0 (2022-01-20)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_jp_birthday-0.1.3.tar.gz
(19.3 kB
view hashes)
Built Distribution
Close
Hashes for django_jp_birthday-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6ff6dfe3eb160c65c9d6d8f6353bca9a93a33a77b4ef99bb71d85111ff2ba4b |
|
MD5 | 3ee2f287f8eaf9c5934adcee455c4c6d |
|
BLAKE2b-256 | 6a9eae2781d9734b4e992483cf389d5b7e95e925458ad9bde338e0b7e4bdbbc7 |