[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/36: gnu: Add python-dj-database-url.
From: |
julien lepiller |
Subject: |
22/36: gnu: Add python-dj-database-url. |
Date: |
Thu, 11 May 2017 16:01:30 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit a326384be44edf1bf1b081f21a7db2b904859f41
Author: Julien Lepiller <address@hidden>
Date: Sat Apr 22 18:28:37 2017 +0200
gnu: Add python-dj-database-url.
* gnu/packages/django.scm (python-dj-database-url, python2-dj-database-url):
New variables.
---
gnu/packages/django.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 3a4116b..3477895 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -322,3 +322,28 @@ use, simply add the field to one of your models.")
(define-public python2-django-jsonfield
(package-with-python2 python-django-jsonfield))
+
+(define-public python-dj-database-url
+ (package
+ (name "python-dj-database-url")
+ (version "0.4.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "dj-database-url" version))
+ (sha256
+ (base32
+ "024zbkc5rli4hia9lz9g8kf1zxhb2gwawj5abf67i7gf8n22v0x6"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/kennethreitz/dj-database-url")
+ (synopsis "Use Database URLs in your Django Application")
+ (description
+ "This simple Django utility allows you to utilize the 12factor inspired
+DATABASE_URL environment variable to configure your Django application.
+
+The dj_database_url.config method returns a Django database connection
+dictionary, populated with all the data specified in your URL. There is also a
+conn_max_age argument to easily enable Django’s connection pool.")
+ (license license:bsd-2)))
+
+(define-public python2-dj-database-url
+ (package-with-python2 python-dj-database-url))
- 06/36: gnu: Add python-sphinx-me., (continued)
- 06/36: gnu: Add python-sphinx-me., julien lepiller, 2017/05/11
- 16/36: gnu: Add python2-stemming., julien lepiller, 2017/05/11
- 05/36: gnu: Add python-webassets., julien lepiller, 2017/05/11
- 09/36: gnu: Add python-diff-match-patch., julien lepiller, 2017/05/11
- 13/36: gnu: python-dateutil: Update to 2.6.0., julien lepiller, 2017/05/11
- 12/36: gnu: Add python-elasticsearch., julien lepiller, 2017/05/11
- 14/36: gnu: Add python-levenshtein., julien lepiller, 2017/05/11
- 15/36: gnu: Add python-scandir., julien lepiller, 2017/05/11
- 17/36: gnu: Add python-factory-boy., julien lepiller, 2017/05/11
- 18/36: gnu: Add python-translate-toolkit., julien lepiller, 2017/05/11
- 22/36: gnu: Add python-dj-database-url.,
julien lepiller <=
- 27/36: gnu: Add python-hiredis., julien lepiller, 2017/05/11
- 31/36: gnu: Add python-django-sortedm2m., julien lepiller, 2017/05/11
- 33/36: gnu: Add python-django-statici18n., julien lepiller, 2017/05/11
- 34/36: gnu: python-pytest-django: Update to 3.1.2., julien lepiller, 2017/05/11
- 21/36: gnu: Add python-django-jsonfield., julien lepiller, 2017/05/11
- 23/36: gnu: Add python-django-bulk-update., julien lepiller, 2017/05/11
- 11/36: gnu: Add python-nosexcover., julien lepiller, 2017/05/11
- 25/36: gnu: Add python-django-contrib-comments., julien lepiller, 2017/05/11
- 36/36: gnu: Add pootle., julien lepiller, 2017/05/11
- 24/36: gnu: Add python-django-contact-form., julien lepiller, 2017/05/11