Commit Graph

25 Commits

Author SHA1 Message Date
Jelle van der Waa
235afa34bf
Switch to pymemcache
The MemcacheCache backend is deprecated in Django and the use of
PymemcacheCache or PyLibMCCache is recommended.
2021-09-12 11:51:50 +02:00
Justin !
c6cf91a40d Fix pep8 errors 2020-11-11 22:23:29 +01:00
Jelle van der Waa
259eea2d6c
Fix NETBOOT_SECURITY_BANNER settings
Move the settings before the local_settings.py import to make it
configurable in local_settings.py and remove the setting from
local_settings.py.example as it's not required to be there.
2020-08-03 21:38:12 +02:00
Santiago Torres
8b2f897702
netboot: add downgraded cipher banner
The banner is pretty self-explanatory. Inform users that the chainloaded
script is served on downgraded ciphers due to a limitation on the ssl
stack of ipxe. Also, add a configuration variable so that downstream
users of archweb can prevent the banner from displaying.
2020-08-03 21:38:11 +02:00
Whyme Lyu
7f1606f217 Developing locally needs CSRF_COOKIE_SECURE=False 2019-09-09 21:27:35 +08:00
Jelle van der Waa
f7f592dcc9 Remove deprecated db backend postgresql_psycopg2
The PostgreSQL backend has been renamed to django.db.backends.postgresql
and postgresql_psycopg2 has been an alias.

Close: #195
2019-04-27 21:12:01 +02:00
Jelle van der Waa
700afd84c0 Remove CDN configuration option
Remove the unused CDN configuration option for JQuery.

Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
2017-06-29 16:32:44 +02:00
Jelle van der Waa
c4dd0ead15 Remove deprecated TEMPLATE_DEBUG 2017-05-02 21:13:56 +02:00
Dan McGee
9f20cf7c81 Remove old suggested recommended settings
Signed-off-by: Dan McGee <dan@archlinux.org>
2014-10-21 17:32:09 -05:00
Florian Pritz
01a64613ee local_settings.py: Add sqlite example
Sqlite should be sufficient for testing so make it the default.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2012-09-08 11:10:28 -05:00
Dan McGee
ff5965f45d Switch to recommending PostgreSQL by default
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-28 23:17:37 -05:00
Dan McGee
024fd1b284 Remove cdnprefix template tag
Signed-off-by: Dan McGee <dan@archlinux.org>
2012-03-24 12:32:38 -05:00
Dan McGee
09e7d2706e Slight tweaks to default local_settings
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-12-05 23:10:11 -06:00
Dan McGee
886630dd4e Always use same URL for both secure and non-secure CDN requests
Use a scheme-relative URL rather than serving different content to
users based on HTTP or HTTPS. Should prevent mismatched certificate
errors.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-11-08 13:55:38 -06:00
Dan McGee
e3ac143894 Settings refresh
Update a few things in settings.py, but more importantly, update
local_settings.py.template to be more in line with modern Django
settings.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16 16:30:14 -05:00
Dan McGee
d94a09620a Update cache settings in local_settings example
Signed-off-by: Dan McGee <dan@archlinux.org>
2010-01-31 13:13:46 -06:00
Ismael Carnales
f7b879940b added dummy cache setting to local_settings 2009-11-12 22:34:08 -02:00
eliott
13eae464f1 update 2008-04-11 21:35:49 -07:00
eliott
65cdda6f14 Fixed localsettings.py.example 2008-01-10 01:13:40 -08:00
eliott
4aee4dd236 subtle changes to settings files
moved cache controls to local_settings
2008-01-05 17:08:07 -08:00
eliott
d716d64810 Updated docs 2008-01-05 16:18:20 -08:00
eliott
424d2a7730 Changes 2008-01-05 16:18:19 -08:00
eliott
7d753eaa13 added vim command comment to the end of the file 2007-12-29 16:49:18 -08:00
eliott
6226b02f8b removed need to specify deploypath manually 2007-12-23 00:35:10 -05:00
eliott
39a548fd26 Initial import for public release...
Special Note
  Prior to git import, approx 90% of the code was done by Judd Vinet. Thanks Judd!
2007-11-03 03:45:10 -04:00