File tree Expand file tree Collapse file tree 12 files changed +5
-664
lines changed Expand file tree Collapse file tree 12 files changed +5
-664
lines changed Original file line number Diff line number Diff line change 11static /sass /* .css linguist-vendored
2- peps /tests /fake_pep_repo /* .html linguist-vendored
32static /js /libs /* .js linguist-vendored
43static /js /plugins /* .js linguist-vendored
Original file line number Diff line number Diff line change 22DATABASE_URL=postgres:///pythondotorg
33SEARCHBOX_SSL_URL=http://127.0.0.1:9200/
44
5- # development optional
6- #PEP_REPO_PATH=None
7-
85# production required
96SECRET_KEY=
107ALLOWED_HOSTS=127.0.0.1,
@@ -13,7 +10,6 @@ EMAIL_HOST_USER=
1310EMAIL_HOST_PASSWORD=
1411EMAIL_PORT=
1512DEFAULT_FROM_EMAIL=
16- PEP_ARTIFACT_URL=
1713FASTLY_API_KEY=
1814SENTRY_DSN=
1915SOURCE_VERSION=
Original file line number Diff line number Diff line change 6161EMAIL_USE_TLS = True
6262DEFAULT_FROM_EMAIL = config ('DEFAULT_FROM_EMAIL' )
6363
64- PEP_REPO_PATH = None
65- PEP_ARTIFACT_URL = config ('PEP_ARTIFACT_URL' )
66-
6764# Fastly API Key
6865FASTLY_API_KEY = config ('FASTLY_API_KEY' )
6966
Original file line number Diff line number Diff line change 3434
3535EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
3636
37- # Set the local pep repository path to fetch PEPs from,
38- # or none to fallback to the tarball specified by PEP_ARTIFACT_URL.
39- PEP_REPO_PATH = config ('PEP_REPO_PATH' , default = None ) # directory path or None
40-
41- # Set the path to where to fetch PEP artifacts from.
42- # The value can be a local path or a remote URL.
43- # Ignored if PEP_REPO_PATH is set.
44- PEP_ARTIFACT_URL = os .path .join (BASE , 'peps/tests/peps.tar.gz' )
45-
4637# Use Dummy SASS compiler to avoid performance issues and remove the need to
4738# have a sass compiler installed at all during local development if you aren't
4839# adjusting the CSS at all. Comment this out or adjust it to suit your local
Original file line number Diff line number Diff line change 2727
2828.container ,
2929.row ,
30- .pep-list-header ,
31- .pep-index-list li ,
32- .info-key ,
3330.listing-company ,
3431.list-recent-jobs li { @extend %pie-clearfix ; }
3532
377374
378375 .most-recent-posts { @include span-columns ( 9 ); }
379376
380- .pep-widget ,
381377 .psf-widget ,
382378 .python-needs-you-widget {
383379 padding : 1.5em 1.75em ;
384380 clear : both ;
385381 }
386382
387- /* PEP landing page */
388- .pep-list-header ,
389- .pep-index-list li ,
390- .info-key { margin : 0 -.5em ; }
391-
392- .pep-list-header { display : block ; }
393-
394- .pep-index-list {
395-
396- .label { display : none ; }
397- a { display : block ; }
398- li {
399- border-bottom : 1px solid darken ($grey-lighterest , 5% );
400- margin-bottom : 0 ;
401- }
402- }
403-
404- .pep-type ,
405- .pep-num ,
406- .pep-title ,
407- .pep-owner {
408- float : left ;
409- border-bottom : 0 ;
410- }
411-
412- .pep-type { width : 15% ; }
413- .pep-num { width : 10% ; }
414- .pep-title { width : 50% ; }
415- .pep-owner { width : 25% ; }
416-
417383 /* Jobs landing page */
418384 .jobs-intro { padding-top : 2em ; padding-bottom : 2em ; }
419385
10991065 }
11001066 }
11011067
1102- .pep-widget ,
11031068 .psf-widget ,
11041069 .python-needs-you-widget {
11051070 padding : 1.5em 1.75em ;
11411106 }
11421107 }
11431108
1144- .pep-widget {
1145-
1146- .widget-title {
1147- position : relative ;
1148- padding-right : 6em ;
1149- }
1150- }
1151-
1152- .rss-link {
1153- position : absolute ;
1154- top : 0 ; right : 0 ;
1155- }
1156-
11571109 /* Footer */
11581110 .sitemap {
11591111
Original file line number Diff line number Diff line change 115115/* Other elements */
116116.container ,
117117.row ,
118- .pep-list-header ,
119- .pep-index-list li ,
120- .info-key ,
121118.listing-company ,
122119.list-recent-jobs li {
123120 * zoom : 1 ; }
124121 .container : after ,
125122 .row : after ,
126- .pep-list-header : after ,
127- .pep-index-list li : after ,
128- .info-key : after ,
129123 .listing-company : after ,
130124 .list-recent-jobs li : after {
131125 content : "" ;
@@ -338,17 +332,11 @@ html[xmlns] .slides { display: block; }
338332/* Other elements */
339333.container ,
340334.row ,
341- .pep-list-header ,
342- .pep-index-list li ,
343- .info-key ,
344335.listing-company ,
345336.list-recent-jobs li {
346337 * zoom : 1 ; }
347338 .container : after ,
348339 .row : after ,
349- .pep-list-header : after ,
350- .pep-index-list li : after ,
351- .info-key : after ,
352340 .listing-company : after ,
353341 .list-recent-jobs li : after {
354342 content : "" ;
@@ -1423,48 +1411,11 @@ html[xmlns] .slides { display: block; }
14231411 float : left;
14241412 margin-right : 2.12766% ; }
14251413
1426- .pep-widget ,
14271414 .psf-widget ,
14281415 .python-needs-you-widget {
14291416 padding : 1.5em 1.75em ;
14301417 clear : both; }
14311418
1432- /* PEP landing page */
1433- .pep-list-header ,
1434- .pep-index-list li ,
1435- .info-key {
1436- margin : 0 -.5em ; }
1437-
1438- .pep-list-header {
1439- display : block; }
1440-
1441- .pep-index-list .label {
1442- display : none; }
1443- .pep-index-list a {
1444- display : block; }
1445- .pep-index-list li {
1446- border-bottom : 1px solid # e3e7ec ;
1447- margin-bottom : 0 ; }
1448-
1449- .pep-type ,
1450- .pep-num ,
1451- .pep-title ,
1452- .pep-owner {
1453- float : left;
1454- border-bottom : 0 ; }
1455-
1456- .pep-type {
1457- width : 15% ; }
1458-
1459- .pep-num {
1460- width : 10% ; }
1461-
1462- .pep-title {
1463- width : 50% ; }
1464-
1465- .pep-owner {
1466- width : 25% ; }
1467-
14681419 /* Jobs landing page */
14691420 .jobs-intro {
14701421 padding-top : 2em ;
@@ -2298,7 +2249,6 @@ html[xmlns] .slides { display: block; }
22982249 display : inline;
22992250 visibility : visible; }
23002251
2301- .pep-widget ,
23022252 .psf-widget ,
23032253 .python-needs-you-widget {
23042254 padding : 1.5em 1.75em ; }
@@ -2345,15 +2295,6 @@ html[xmlns] .slides { display: block; }
23452295 zoom : 1 ;
23462296 display : inline; }
23472297
2348- .pep-widget .widget-title {
2349- position : relative;
2350- padding-right : 6em ; }
2351-
2352- .rss-link {
2353- position : absolute;
2354- top : 0 ;
2355- right : 0 ; }
2356-
23572298 /* Footer */
23582299 .sitemap a {
23592300 text-align : left; }
Original file line number Diff line number Diff line change 115115/* Other elements */
116116.container ,
117117.row ,
118- .pep-list-header ,
119- .pep-index-list li ,
120- .info-key ,
121118.listing-company ,
122119.list-recent-jobs li {
123120 * zoom : 1 ; }
124121 .container : after ,
125122 .row : after ,
126- .pep-list-header : after ,
127- .pep-index-list li : after ,
128- .info-key : after ,
129123 .listing-company : after ,
130124 .list-recent-jobs li : after {
131125 content : "" ;
@@ -338,17 +332,11 @@ html[xmlns] .slides { display: block; }
338332/* Other elements */
339333.container ,
340334.row ,
341- .pep-list-header ,
342- .pep-index-list li ,
343- .info-key ,
344335.listing-company ,
345336.list-recent-jobs li {
346337 * zoom : 1 ; }
347338 .container : after ,
348339 .row : after ,
349- .pep-list-header : after ,
350- .pep-index-list li : after ,
351- .info-key : after ,
352340 .listing-company : after ,
353341 .list-recent-jobs li : after {
354342 content : "" ;
@@ -1137,48 +1125,11 @@ a.button {
11371125 float : left;
11381126 margin-right : 2.12766% ; }
11391127
1140- .pep-widget ,
11411128.psf-widget ,
11421129.python-needs-you-widget {
11431130 padding : 1.5em 1.75em ;
11441131 clear : both; }
11451132
1146- /* PEP landing page */
1147- .pep-list-header ,
1148- .pep-index-list li ,
1149- .info-key {
1150- margin : 0 -.5em ; }
1151-
1152- .pep-list-header {
1153- display : block; }
1154-
1155- .pep-index-list .label {
1156- display : none; }
1157- .pep-index-list a {
1158- display : block; }
1159- .pep-index-list li {
1160- border-bottom : 1px solid # e3e7ec ;
1161- margin-bottom : 0 ; }
1162-
1163- .pep-type ,
1164- .pep-num ,
1165- .pep-title ,
1166- .pep-owner {
1167- float : left;
1168- border-bottom : 0 ; }
1169-
1170- .pep-type {
1171- width : 15% ; }
1172-
1173- .pep-num {
1174- width : 10% ; }
1175-
1176- .pep-title {
1177- width : 50% ; }
1178-
1179- .pep-owner {
1180- width : 25% ; }
1181-
11821133/* Jobs landing page */
11831134.jobs-intro {
11841135 padding-top : 2em ;
@@ -1986,7 +1937,6 @@ a.button {
19861937 display : inline;
19871938 visibility : visible; }
19881939
1989- .pep-widget ,
19901940.psf-widget ,
19911941.python-needs-you-widget {
19921942 padding : 1.5em 1.75em ; }
@@ -2033,15 +1983,6 @@ a.button {
20331983 zoom : 1 ;
20341984 display : inline; }
20351985
2036- .pep-widget .widget-title {
2037- position : relative;
2038- padding-right : 6em ; }
2039-
2040- .rss-link {
2041- position : absolute;
2042- top : 0 ;
2043- right : 0 ; }
2044-
20451986/* Footer */
20461987.sitemap a {
20471988 text-align : left; }
You can’t perform that action at this time.
0 commit comments