Skip to content

Commit b271a05

Browse files
andreasscherbaummhagander
authored andcommitted
Update README and development requirements
1 parent 1537d0e commit b271a05

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A commitfest is a collection of patches and reviews for a project and is part of
66

77
## The Application
88

9-
This is a Django 1.8 application backed by PostgreSQL and running on Python 2.7.
9+
This is a Django 3.2 application backed by PostgreSQL and running on Python 3.x.
1010

1111
## Getting Started
1212

@@ -15,7 +15,7 @@ This is a Django 1.8 application backed by PostgreSQL and running on Python 2.7.
1515
First, prepare your development environment by installing pip, virtualenv, and postgresql-server-dev-X.Y.
1616

1717
```
18-
$ sudo apt install python-pip postgresql-server-dev-9.6
18+
$ sudo apt install python-pip postgresql-server-dev-14
1919
2020
$ pip install virtualenv
2121
```
@@ -57,7 +57,7 @@ AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
5757
```
5858

5959
Provided that you created a database matching the above settings, you can
60-
now create the required tables.
60+
now create the required tables. Note that a password must be provided.
6161

6262
```
6363
$ python manage.py migrate
@@ -79,7 +79,8 @@ To authenticate you'll first have to remove the customized login template.
7979
Remember not to commit this modification.
8080

8181
```
82-
$ rm -rf global_templates/admin/login.html
82+
$ find . -type f -name login.html
83+
$ rm -f global_templates/admin/login.html
8384
```
8485

8586
Then open http://localhost:8000/admin to log in. Once redirected to the Django

requirements.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
django>1.8,<1.9
1+
django>=3.2,<4.0
22
psycopg2
33
simplejson
44
pycrypto
5+
requests
6+
pycryptodome
7+
pycryptodomex

0 commit comments

Comments
 (0)