Skip to content

Commit 69f1b02

Browse files
authored
Merge pull request #39 from jfmatth/master
Django 5.1.4, Pin versions of packages.
2 parents 82208a2 + 23e9810 commit 69f1b02

File tree

5 files changed

+94
-90
lines changed

5 files changed

+94
-90
lines changed

Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
django = "<6"
8-
psycopg = {extras = ["binary", "pool"], version = "*"}
7+
django = "==5.1.4"
8+
psycopg = {extras = ["pool", "binary"], version = "==3.2.3"}
99

1010
[dev-packages]
1111

Pipfile.lock

+80-79
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,21 @@ Since debug hasn't been set, the default page won't work. You can validate the
3737
\<fqdn\>/admin
3838

3939
# Piku features utilized
40+
41+
## Procfile
4042
This app utilizes several of Piku's ```Procfile``` features
4143
```
4244
wsgi: pikupostgres.wsgi:application
4345
release: ./bin/stage_release.sh
4446
cron: 0 0 * * * ./bin/uwsgi_cron_midnight.sh
4547
```
46-
## wsgi
48+
### wsgi
4749
Runs this python app as a WSGI process
4850

49-
## release
51+
### release
5052
Each time you push your code, Piku will run a 'release' cycle and run this code. ```./bin/stage_release.sh``` only runs Django's collectstatic function, but you can add more
5153

52-
## cron
54+
### cron
5355
Piku uses UWSGI to schedule Cron jobs. ```./bin/uwsgi_cron_midnight.sh``` runs a Django clearsessions command every day at 0:00 (midnight)
5456

5557
## NGINX static file mapping

VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.1.4

requirements.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
-i https://pypi.org/simple
22
asgiref==3.8.1; python_version >= '3.8'
3-
django==5.0.6; python_version >= '3.10'
4-
psycopg[binary,pool]==3.1.19; python_version >= '3.7'
5-
psycopg-binary==3.1.19
6-
psycopg-pool==3.2.2
7-
sqlparse==0.5.0; python_version >= '3.8'
8-
typing-extensions==4.12.2; python_version >= '3.8'
3+
django==5.1.4; python_version >= '3.10'
4+
psycopg[binary,pool]==3.2.3; python_version >= '3.8'
5+
psycopg-binary==3.2.3
6+
psycopg-pool==3.2.4
7+
sqlparse==0.5.3; python_version >= '3.8'
8+
typing-extensions==4.12.2; python_version < '3.13'

0 commit comments

Comments
 (0)