Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8a1ec9d
Updated travis branch
arocks May 30, 2015
7fdf3b5
Fixed bug in gitignore to ignore only ./site not static/site
arocks Jun 28, 2015
037f0cf
Fix for the TEMPLATE_*backwards compatibility for 1.8
sydhenry Aug 26, 2015
d0d4a32
#40 Workaround
slmjy Sep 4, 2015
769d5de
Merge branch '1_8.W001' of git://github.com/HandyCodeJob/edge into Ha…
arocks Dec 13, 2015
2f6315e
Added blank line
arocks Dec 13, 2015
60143d9
Fixed typo mentioned in Issue #41
arocks Dec 13, 2015
8dd898a
Added a closing div pointed out in Issue #46
arocks Dec 13, 2015
0aa7fdc
Updated to the latest Bootswatch 3.3.6 from 3.3.4
arocks Dec 13, 2015
e9b6ad2
Upated requirements to Django 1.9 and others
arocks Dec 13, 2015
9e92ab7
Using new LoginRequiredMixin from Django 1.9
arocks Dec 13, 2015
fb8a377
Django 1.9, explicitly mention internal IPs for debugging
arocks Sep 9, 2016
b9fc56d
Turning off PIN in Werkzeug as env setting is cumbersome
arocks Sep 9, 2016
4c37926
Issue #56 from upstream django bootstrap fixed
arocks Sep 9, 2016
3a17284
Fixes Django Toolbar upstream changes
arocks Dec 7, 2016
dafbcfd
Updated requirements to Django 1.11 and deps
arocks Jul 27, 2017
08fb4d6
Removed django-admin-bootstrapped and templates
arocks Sep 27, 2017
647ddbc
Several Django 2.0 changes
arocks Sep 27, 2017
fc3a789
Merge branch 'django-2-features'
arocks Mar 27, 2018
b8b3749
Removed Python 2.x support
arocks Mar 27, 2018
ffd26c8
Added Pipenv files and updated requirements
arocks Apr 5, 2018
a0cd551
Issue #80 suggests stronger hash algorithm
arocks Apr 5, 2018
f557d87
Added pathlib based path-manipulation back
arocks Apr 5, 2018
6ac3e04
Converted to new Python 3 super() syntax
arocks Apr 5, 2018
42c67c3
Fixed bugs in paths
arocks Apr 5, 2018
b5ca133
Added all hashes of all dev requirements
arocks Apr 5, 2018
c49723e
Added hash of django-braces github dependency
arocks Apr 5, 2018
5a2bba3
Fixed non-pathlib path manipulations
arocks Apr 5, 2018
6ea0303
Cast all pathlibs to strings
arocks Apr 5, 2018
ffd2d7c
Casting LOGFILE_ROOT to str was a bug
arocks Apr 5, 2018
662e94e
Updated django-braces to latest stable version
arocks Apr 6, 2018
a25beb5
Updating dependencies
arocks Oct 16, 2018
c9b8d27
Resolve issue #85
rickwargo Nov 4, 2018
9ef5bbf
Updated Django to 2.1.3
arocks Nov 7, 2018
72a1f03
Updated requirements to Django 2.1.3
arocks Nov 7, 2018
5dc8cf3
Django was repeated in dev-requirements. Removed.
arocks Nov 7, 2018
ba7b5c3
Pytz was repeated in dev-requirements. Removed.
arocks Nov 7, 2018
3057781
Added alternative pip simple url
arocks Nov 7, 2018
04caec0
Downgraded to 2.0.9 due to travis
arocks Nov 7, 2018
57ab5ea
Merge branch 'patch-1' of git://github.com/rickwargo/edge into rickwa…
arocks Nov 7, 2018
4cb1bf2
Auto-logout on password change
vharsh Jan 19, 2019
3e72631
Make template HTML valid
sanjeev29 Jan 19, 2019
011fb7f
edit profile header fix
sanjeev29 Jan 19, 2019
a9d7f13
Merge branch 'logout_on_pwd_change' of git://github.com/vharsh/edge i…
arocks Jan 20, 2019
09b1ece
Removed unused import and formatting fixes
arocks Jan 20, 2019
daa111a
Fixed 'accounts' namespace being referred to as 'account'
arocks Jan 20, 2019
6eaf990
Merge branch 'html-validation' of git://github.com/sanjeev29/edge int…
arocks Jan 20, 2019
63de511
Merge branch 'sanjeev29-html-validation'
arocks Jan 20, 2019
7a67583
Reformatted all .py files using 'black' formatter
arocks Jan 20, 2019
a25d6e3
Updated Readme with better installation instructions
arocks Jan 20, 2019
cc8ab41
Fix Issue #83
arocks Feb 7, 2019
17d35ef
README updated with more help for beginners
arocks Feb 22, 2021
ae20cda
Update base.txt
arocks Mar 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ Thumbs.db
Desktop.ini

# Project settings
site/
./site/
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: python
python:
- "2.7"
- "3.4"
install:
- pip install -r requirements.txt
Expand All @@ -10,4 +9,4 @@ install:
- cp my_proj/settings/local.sample.env my_proj/settings/local.env
- python manage.py migrate
script:
- python manage.py test profiles
- python manage.py test profiles
26 changes: 26 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[[source]]

url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"


[packages]

django = ">=2.0"
django-environ = ">=0.4.3"
django-braces = ">=1.12.0"
django-crispy-forms = ">=1.7.2"
django-authtools = ">=1.6.0"
easy-thumbnails = ">=2.4.1"


[dev-packages]

django-debug-toolbar = ">=1.8"
werkzeug = ">=0.12.2"


[requires]

python_version = "3"
148 changes: 148 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 38 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,63 @@

# [Edge][docs]

[![Build Status](https://travis-ci.org/arocks/edge.svg?branch=1_8)](https://travis-ci.org/arocks/edge)
[![Build Status](https://travis-ci.org/arocks/edge.svg?branch=master)](https://travis-ci.org/arocks/edge)

**A Fantastic Django project starter.**

## Features

* Ready Bootstrap-themed pages
* User Registration/Sign up
* Better Security with [12-Factor](http://12factor.net/) recommendations
* Better Security with [12-Factor](http://12factor.net/) recommendations
* Logging/Debugging Helpers
* Works on Python 2.7 or 3.4
* Works on Python 3 and Django 2
* Formatted with [Black](https://github.com/ambv/black)

More information at: [http://django-edge.readthedocs.org/][docs]
Contribute using: [Edge Dev Tools](https://github.com/arocks/edge-devtools) ✨ 🍰 ✨

[docs]: http://django-edge.readthedocs.org/

## Quick start:

Before creating a new project from this template, you need to create a fresh virtual environment and install Django:

1. `$ python -m venv ./myenv`
2. `$ source ./myenv/bin/activate.fish` (use the appropriate activate script based on your shell)
3. `$ python -m pip install -U pip django`

Create your new _edgy_ django project:

1. `$ django-admin.py startproject --template=https://github.com/arocks/edge/archive/master.zip --extension=py,md,html,env my_proj`
2. `$ cd my_proj`
3. `$ pip install -r requirements.txt `
4. `$ cd src`
5. `$ cp my_proj/settings/local.sample.env my_proj/settings/local.env` (New!)
5. `$ cp my_proj/settings/local.sample.env my_proj/settings/local.env`
6. `$ python manage.py migrate`
7. `$ python manage.py createsuperuser`
8. `$ python manage.py runserver`

More information at: [http://django-edge.readthedocs.org/][docs]

## Recommended Installation (with `pipenv`)
1. `$ pip install --user --upgrade pipenv` ([Install pipenv system-wide or locally](https://docs.pipenv.org/) but outside a virtualenv)
2. `$ mkdir my_proj` (choose a better name than `my_proj` for your project)
3. `$ django-admin.py startproject --template=https://github.com/arocks/edge/archive/master.zip --extension=py,md,html,env my_proj .`

[docs]: http://django-edge.readthedocs.org/
If you get an SSL error, then download the zip file and mention it after `--template=`, like this: `django-admin.py startproject --template=~/Downloads/master.zip --extension=py,md,html,env my_proj .`
4. `$ pipenv install --dev`
5. `$ pipenv shell`
6. `$ cp src/my_proj/settings/local.sample.env src/my_proj/settings/local.env` (or rename this file)
7. `$ cd src`
8. `$ python manage.py migrate`
9. `$ python manage.py createsuperuser`
10. `$ python manage.py runserver`

If you need to keep `requirements.txt` updated then run

pipenv lock --requirements > requirements/base.txt
echo "-r base.txt" > requirements/development.txt
pipenv lock --requirements --dev >> requirements/development.txt

Rest of this README will be copied to the generated project.

Expand Down
15 changes: 8 additions & 7 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
Django>=1.8
django-environ>=0.3.0
django-braces>=1.8.0
django-crispy-forms>=1.4.0
django-admin-bootstrapped>=2.4.0
django-authtools>=1.2.0
easy-thumbnails>=2.2
django-authtools==1.6.0
django-braces==1.13.0
django-crispy-forms==1.7.2
django-environ==0.4.5
django==2.0.9
easy-thumbnails==2.5
pillow==8.1.2
pytz==2018.7
6 changes: 4 additions & 2 deletions requirements/development.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-i https://pypi.python.org/simple
-r base.txt
django-debug-toolbar>=1.3.0
Werkzeug>=0.10.1
django-debug-toolbar==1.10.1
sqlparse==0.2.4
werkzeug==0.14.1
3 changes: 2 additions & 1 deletion requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
-i https://pypi.python.org/simple
-r base.txt

# Extra stuff required for production like Prod Database interfacing packages
# psycopg2

django[argon2]
Loading