You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default_urlconf.html 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. {% load i18n %}
  2. <!doctype html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <title>{% trans "Django: the Web framework for perfectionists with deadlines." %}</title>
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <link rel="stylesheet" type="text/css" href="/static/admin/css/fonts.css">
  9. <style type="text/css">
  10. body, main {
  11. margin: 0 auto;
  12. }
  13. .body, .tip {
  14. stroke: #fff;
  15. }
  16. html {
  17. line-height: 1.15;
  18. -ms-text-size-adjust: 100%;
  19. -webkit-text-size-adjust: 100%;
  20. box-sizing: border-box;
  21. }
  22. footer, header, main {
  23. display: block;
  24. }
  25. a {
  26. background-color: transparent;
  27. -webkit-text-decoration-skip: objects;
  28. color: #19865C;
  29. text-decoration: none;
  30. }
  31. img {
  32. border-style: none;
  33. }
  34. header {
  35. border-bottom: 1px solid #efefef;
  36. }
  37. svg:not(:root) {
  38. overflow: hidden;
  39. }
  40. body {
  41. max-width: 960px;
  42. color: #525252;
  43. font-family: Roboto, sans-serif;
  44. }
  45. main {
  46. text-align: center;
  47. }
  48. .u-clearfix:after {
  49. content: "";
  50. clear: both;
  51. display: table;
  52. }
  53. .exhaust.two, .fuel, .removehole {
  54. display: none;
  55. }
  56. h1, h2, h3, h4, h5, p, ul {
  57. padding: 0;
  58. margin: 0;
  59. font-weight: 400;
  60. }
  61. header {
  62. padding-top: 20px;
  63. padding-bottom: 10px;
  64. }
  65. .logo {
  66. float: left;
  67. }
  68. .logo h2 {
  69. font-weight: 700;
  70. margin-top: 0px;
  71. }
  72. .release-notes {
  73. float: right;
  74. margin-top: 7px;
  75. }
  76. .release-notes p {
  77. font-size: 14px;
  78. }
  79. .figure {
  80. margin-top: 19vh;
  81. height: 181px;
  82. }
  83. .figure__animation {
  84. max-width: 265px;
  85. position: relative;
  86. z-index: -9;
  87. }
  88. .tip {
  89. stroke-width: 3px;
  90. -webkit-transform: translateY(-7px);
  91. transform: translateY(-7px);
  92. }
  93. .body {
  94. fill: #6DDCBD;
  95. -webkit-transform: scaleX(1.25);
  96. transform: scaleX(1.25);
  97. -webkit-transform-origin: center;
  98. transform-origin: center;
  99. stroke-width: 3px;
  100. }
  101. .box {
  102. position: absolute;
  103. bottom: 0;
  104. left: 0;
  105. }
  106. .circle {
  107. fill: #6DDCBD;
  108. stroke: #fff;
  109. stroke-width: 7px;
  110. }
  111. .exhaust {
  112. border-bottom-left-radius: 4px;
  113. }
  114. .exhaust.two, .exhaust__line {
  115. -webkit-animation: thurst 70ms infinite ease-in-out alternate;
  116. animation: thurst 70ms infinite ease-in-out alternate;
  117. }
  118. .smoke {
  119. -webkit-animation: smoke .1s infinite ease-in-out alternate;
  120. animation: smoke .1s infinite ease-in-out alternate;
  121. -webkit-transform-origin: center;
  122. transform-origin: center;
  123. opacity: .8;
  124. }
  125. @-moz-document url-prefix() {
  126. .smoke {
  127. animation: smokeFirefox .2s infinite ease-in-out alternate;
  128. }
  129. }
  130. @-webkit-keyframes smoke {
  131. 0% {
  132. -webkit-transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  133. transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  134. }
  135. 100% {
  136. -webkit-transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  137. transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  138. }
  139. }
  140. @keyframes smoke {
  141. 0% {
  142. -webkit-transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  143. transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  144. }
  145. 100% {
  146. -webkit-transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  147. transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  148. }
  149. }
  150. @-webkit-keyframes smokeFirefox {
  151. 0% {
  152. -webkit-transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  153. transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  154. }
  155. 100% {
  156. -webkit-transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  157. transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  158. }
  159. }
  160. @keyframes smokeFirefox {
  161. 0% {
  162. -webkit-transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  163. transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  164. }
  165. 100% {
  166. -webkit-transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  167. transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  168. }
  169. }
  170. .flame 0%, .flame 100% {
  171. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg);
  172. transform: translate(265px, 249px) scale(1.9) rotate(180deg);
  173. }
  174. .flame {
  175. -webkit-animation: burnInner2 .1s infinite ease-in-out alternate;
  176. animation: burnInner2 .1s infinite ease-in-out alternate;
  177. }
  178. @-webkit-keyframes burnInner2 {
  179. 0% {
  180. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  181. transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  182. }
  183. 100% {
  184. -webkit-transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  185. transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  186. }
  187. }
  188. @keyframes burnInner2 {
  189. 0% {
  190. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  191. transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  192. }
  193. 100% {
  194. -webkit-transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  195. transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  196. }
  197. }
  198. @-webkit-keyframes thurst {
  199. 0% {
  200. opacity: 1;
  201. }
  202. 100% {
  203. opacity: .5;
  204. }
  205. }
  206. @keyframes thurst {
  207. 0% {
  208. opacity: 1;
  209. }
  210. 100% {
  211. opacity: .5;
  212. }
  213. }
  214. h2 {
  215. font-size: 22px;
  216. max-width: 500px;
  217. margin: 5px auto 0;
  218. }
  219. main p {
  220. font-size: 16px;
  221. line-height: 20px;
  222. max-width: 390px;
  223. margin: 15px auto 0;
  224. color: #888888;
  225. }
  226. footer {
  227. padding: 25px 0;
  228. position: fixed;
  229. left: 50%;
  230. bottom: 0;
  231. width: 960px;
  232. -webkit-transform: translateX(-50%);
  233. transform: translateX(-50%);
  234. -webkit-transform-style: preserve-3d;
  235. transform-style: preserve-3d;
  236. border-top: 1px solid #efefef;
  237. }
  238. .option {
  239. float: left;
  240. width: 33.33%;
  241. box-sizing: border-box;
  242. padding-right: 5px;
  243. }
  244. .option svg {
  245. width: 25px;
  246. height: 25px;
  247. fill: gray;
  248. border: 1px solid #d6d6d6;
  249. padding: 5px;
  250. border-radius: 100%;
  251. float: left;
  252. margin-right: 10px;
  253. }
  254. .option div {
  255. display: table;
  256. }
  257. .option h4 {
  258. color: #19865C;
  259. font-size: 19px;
  260. }
  261. .option p {
  262. font-weight: 300;
  263. font-size: 15px;
  264. padding-top: 3px;
  265. color: #757575;
  266. }
  267. @media (max-width: 996px) {
  268. body, footer {
  269. max-width: 780px;
  270. }
  271. .logo h2 {
  272. margin-left: 0px;
  273. }
  274. }
  275. @media (max-width: 800px) {
  276. footer, main {
  277. position: relative;
  278. }
  279. footer {
  280. height: 100%;
  281. }
  282. .option {
  283. position: relative;
  284. width: 100%;
  285. left: auto;
  286. right: auto;
  287. top: auto;
  288. padding: 0 25px;
  289. margin-bottom: 60px;
  290. }
  291. .two {
  292. margin-left: 0px;
  293. -webkit-transform: none;
  294. transform: none;
  295. }
  296. .logo, .option, .release-notes {
  297. float: none;
  298. }
  299. .figure {
  300. margin-top: 10px;
  301. }
  302. main {
  303. padding: 0 25px;
  304. }
  305. main h2 {
  306. font-size: 18px;
  307. }
  308. main p {
  309. font-size: 14px;
  310. }
  311. header {
  312. padding-left: 20px;
  313. padding-right: 20px;
  314. }
  315. footer {
  316. overflow: hidden;
  317. width: 100%;
  318. margin-top: 50px;
  319. }
  320. }
  321. @media (min-width: 801px) and (max-height: 730px) {
  322. .figure {
  323. margin-top: 80px;
  324. }
  325. }
  326. @media (min-width: 801px) and (max-height: 600px) {
  327. footer {
  328. position: relative;
  329. margin: 135px auto 0;
  330. }
  331. .figure {
  332. margin-top: 50px;
  333. }
  334. }
  335. </style>
  336. </head>
  337. <body>
  338. <header class="u-clearfix">
  339. <div class="logo">
  340. <a href="https://www.djangoproject.com/" target="_blank" rel="noopener">
  341. <h2>django</h2>
  342. </a>
  343. </div>
  344. <div class="release-notes">
  345. <p>{% blocktrans %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/" target="_blank" rel="noopener">release notes</a> for Django {{ version }}{% endblocktrans %}</p>
  346. </div>
  347. </header>
  348. <main>
  349. <div class="figure">
  350. <svg class="figure__animation" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
  351. <path fill="#FFF" d="M0 0h512v512H0z"></path>
  352. <text transform="translate(97.173 475.104)"></text>
  353. <path d="M307.2 224.6c0 4.6-.5 9-1.6 13.2-2.5-4.4-5.6-8.4-9.2-12-4.6-4.6-10-8.4-16-11.2 2.8-11.2 4.5-22.9 5-34.6 1.8 1.4 3.5 2.9 5 4.5 10.5 10.3 16.8 24.5 16.8 40.1zM232.2 214.6c-6 2.8-11.4 6.6-16 11.2-3.5 3.6-6.6 7.6-9.1 12-1-4.3-1.6-8.7-1.6-13.2 0-15.7 6.3-29.9 16.6-40.1 1.6-1.6 3.3-3.1 5.1-4.5.6 11.8 2.2 23.4 5 34.6z" fill="#2E3B39"></path>
  354. <path class="body" d="M279.7 217.6c12.9-48.1 5.1-104-23.4-142.6-28.5 38.5-36.2 94.5-23.4 142.6h46.8z" fill="#FF7058"></path>
  355. <path class="tip" d="M273 104.7c-4.4-10.6-9.9-20.6-16.6-29.7-6.7 9-12.2 19-16.6 29.7H273z" fill="#2E3B39"></path>
  356. <circle cx="256.3" cy="144.8" fill="#FFF" r="15.5"></circle>
  357. <circle class="circle" cx="256.3" cy="144.8" fill="#84DBFF" r="12.2"></circle>
  358. <path class="removehole" d="M267.5 139.9l-16 16c4.5 2 9.8 1.1 13.5-2.5 3.6-3.7 4.5-9.1 2.5-13.5z" fill="#54C0EB"></path>
  359. <path class="fuel" d="M276.8 234.9c.4-2.4.6-5.1.6-7.9 0-12.1-3.9-21.8-8.8-21.8s-8.8 9.8-8.8 21.8c0 2.8.2 5.4.6 7.9h16.4zM252.3 234.9c.4-2.4.6-5.1.6-7.9 0-12.1-3.9-21.8-8.8-21.8-4.8 0-8.8 9.8-8.8 21.8 0 2.8.2 5.4.6 7.9h16.4z" fill="#FFD05B"></path>
  360. <path class="smoke" d="M416.6 358.8c0-1.8-.4-3.6-1-5.2-2.1-5.6-7.5-9.6-13.8-9.6-.7 0-1.4.1-2.1.2-.3-9.6-8.2-17.3-17.9-17.3-2.1 0-4.2.4-6.1 1.1-3-5.6-8.9-9.4-15.7-9.4-.5 0-1 0-1.5.1-.5 0-1-.1-1.5-.1-6.8 0-12.7 3.8-15.7 9.4-1.9-.7-3.9-1.1-6.1-1.1-9.9 0-17.9 8-17.9 17.9 0 1.1.1 2.3.3 3.3-.9-.2-1.8-.3-2.8-.3-5.1 0-9.5 2.6-12.1 6.5-2.2-1.4-4.9-2.3-7.8-2.3-7.6 0-13.8 5.9-14.4 13.3h-.1c-5.9 0-11 3.6-13.2 8.7-2.6-3-6.5-5-10.9-5h-.1-.5-.1-.1c-4.3 0-8.2 1.9-10.9 5-2.2-5.1-7.3-8.7-13.2-8.7h-.1c-.6-7.5-6.8-13.3-14.4-13.3-2.9 0-5.5.8-7.8 2.3-2.6-3.9-7-6.5-12.1-6.5-.9 0-1.9.1-2.8.3.2-1.1.3-2.2.3-3.3 0-9.9-8-17.9-17.9-17.9-2.1 0-4.2.4-6.1 1.1-3-5.6-8.9-9.4-15.7-9.4-.5 0-1 0-1.5.1-.5 0-1-.1-1.5-.1-6.8 0-12.7 3.8-15.7 9.4-1.9-.7-3.9-1.1-6.1-1.1-9.7 0-17.6 7.7-17.9 17.3-.7-.1-1.4-.2-2.1-.2-6.3 0-11.7 4-13.8 9.6-.6 1.6-1 3.4-1 5.2 0 4 1.6 7.6 4.2 10.3-.5 1.2-.8 2.6-.8 4 0 6 4.9 10.9 10.9 10.9H402c6 0 10.9-4.9 10.9-10.9 0-1.4-.3-2.8-.8-4 2.9-2.7 4.5-6.3 4.5-10.3z" fill="#E6E9EE"></path>
  361. <rect class="exhaust" fill="#6DDCBD" x="241" y="220" width="30" height="8"></rect>
  362. <rect class="exhaust two" fill="#FF871C" x="245" y="231" width="20" height="9"></rect>
  363. <rect class="exhaust__line" fill="#E6E9EE" x="252" y="240" width="7" height="90"></rect>
  364. <path class="flame" d="M 6.7 1.14 l 2.8 4.7 s 1.3 3 -1.82 3.22 l -5.4 0 s -3.28 -.14 -1.74 -3.26 l 2.76 -4.7 s 1.7 -2.3 3.4 0 z" fill="#AA2247"></path>
  365. </svg>
  366. </div>
  367. <h2>{% trans "The install worked successfully! Congratulations!" %}</h2>
  368. <p>{% blocktrans %}You are seeing this page because <a href="https://docs.djangoproject.com/en/{{ version }}/ref/settings/#debug" target="_blank" rel="noopener">DEBUG=True</a> is in your settings file and you have not configured any URLs.{% endblocktrans %}</p>
  369. </main>
  370. <footer class="u-clearfix">
  371. <a href="https://docs.djangoproject.com/en/{{ version }}/" target="_blank" rel="noopener">
  372. <div class="option one">
  373. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  374. <defs>
  375. <path d="M0 0h24v24H0V0z" id="a"></path>
  376. </defs>
  377. <clipPath id="b">
  378. <use overflow="visible" xlink:href="#a"></use>
  379. </clipPath>
  380. <path clip-path="url(#b)" d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path>
  381. </svg>
  382. <div>
  383. <h4>{% trans "Django Documentation" %}</h4>
  384. <p>{% trans "Topics, references, &amp; how-to's" %}</p>
  385. </div>
  386. </div>
  387. </a>
  388. <a href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/" target="_blank" rel="noopener">
  389. <div class="option two">
  390. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
  391. <path d="M0 0h24v24H0V0z" fill="none"></path>
  392. <path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path>
  393. </svg>
  394. <div>
  395. <h4>{% trans "Tutorial: A Polling App" %}</h4>
  396. <p>{% trans "Get started with Django" %}</p>
  397. </div>
  398. </div>
  399. </a>
  400. <a href="https://www.djangoproject.com/community/" target="_blank" rel="noopener">
  401. <div class="option three">
  402. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
  403. <path d="M0 0h24v24H0z" fill="none"></path>
  404. <path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"></path>
  405. </svg>
  406. <div>
  407. <h4>{% trans "Django Community" %}</h4>
  408. <p>{% trans "Connect, get help, or contribute" %}</p>
  409. </div>
  410. </div>
  411. </a>
  412. </footer>
  413. </body>
  414. </html>