default_urlconf.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. {% load i18n %}
  2. <!doctype html>
  3. {% get_current_language_bidi as LANGUAGE_BIDI %}
  4. <html{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
  5. <head>
  6. <meta charset="utf-8">
  7. <title>{% trans "Django: the Web framework for perfectionists with deadlines." %}</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" type="text/css" href="/static/admin/css/fonts.css">
  10. <style type="text/css">
  11. body, main {
  12. margin: 0 auto;
  13. }
  14. .body, .tip {
  15. stroke: #fff;
  16. }
  17. html {
  18. line-height: 1.15;
  19. -ms-text-size-adjust: 100%;
  20. -webkit-text-size-adjust: 100%;
  21. box-sizing: border-box;
  22. }
  23. footer, header, main {
  24. display: block;
  25. }
  26. a {
  27. background-color: transparent;
  28. -webkit-text-decoration-skip: objects;
  29. color: #19865C;
  30. text-decoration: none;
  31. }
  32. img {
  33. border-style: none;
  34. }
  35. header {
  36. border-bottom: 1px solid #efefef;
  37. }
  38. svg:not(:root) {
  39. overflow: hidden;
  40. }
  41. body {
  42. max-width: 960px;
  43. color: #525252;
  44. font-family: Roboto, sans-serif;
  45. }
  46. main {
  47. text-align: center;
  48. }
  49. .u-clearfix:after {
  50. content: "";
  51. clear: both;
  52. display: table;
  53. }
  54. .exhaust.two, .fuel, .removehole {
  55. display: none;
  56. }
  57. h1, h2, h3, h4, h5, p, ul {
  58. padding: 0;
  59. margin: 0;
  60. font-weight: 400;
  61. }
  62. header {
  63. padding-top: 20px;
  64. padding-bottom: 10px;
  65. }
  66. .logo {
  67. float: left;
  68. }
  69. .logo h2 {
  70. font-weight: 700;
  71. margin-top: 0px;
  72. }
  73. .release-notes {
  74. float: right;
  75. margin-top: 7px;
  76. }
  77. .release-notes p {
  78. font-size: 14px;
  79. }
  80. .figure {
  81. margin-top: 19vh;
  82. height: 181px;
  83. }
  84. .figure__animation {
  85. max-width: 265px;
  86. position: relative;
  87. z-index: -9;
  88. }
  89. .tip {
  90. stroke-width: 3px;
  91. -webkit-transform: translateY(-7px);
  92. transform: translateY(-7px);
  93. }
  94. .body {
  95. fill: #6DDCBD;
  96. -webkit-transform: scaleX(1.25);
  97. transform: scaleX(1.25);
  98. -webkit-transform-origin: center;
  99. transform-origin: center;
  100. stroke-width: 3px;
  101. }
  102. .box {
  103. position: absolute;
  104. bottom: 0;
  105. left: 0;
  106. }
  107. .circle {
  108. fill: #6DDCBD;
  109. stroke: #fff;
  110. stroke-width: 7px;
  111. }
  112. .exhaust {
  113. border-bottom-left-radius: 4px;
  114. }
  115. .exhaust.two, .exhaust__line {
  116. -webkit-animation: thurst 70ms infinite ease-in-out alternate;
  117. animation: thurst 70ms infinite ease-in-out alternate;
  118. }
  119. .smoke {
  120. -webkit-animation: smoke .1s infinite ease-in-out alternate;
  121. animation: smoke .1s infinite ease-in-out alternate;
  122. -webkit-transform-origin: center;
  123. transform-origin: center;
  124. opacity: .8;
  125. }
  126. @-moz-document url-prefix() {
  127. .smoke {
  128. animation: smokeFirefox .2s infinite ease-in-out alternate;
  129. }
  130. }
  131. @-webkit-keyframes smoke {
  132. 0% {
  133. -webkit-transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  134. transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  135. }
  136. 100% {
  137. -webkit-transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  138. transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  139. }
  140. }
  141. @keyframes smoke {
  142. 0% {
  143. -webkit-transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  144. transform: scale(1.58, 1.2) translateY(-55px) skew(3deg);
  145. }
  146. 100% {
  147. -webkit-transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  148. transform: scale(1.6, 1.22) translateY(-55px) skew(-3deg);
  149. }
  150. }
  151. @-webkit-keyframes smokeFirefox {
  152. 0% {
  153. -webkit-transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  154. transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  155. }
  156. 100% {
  157. -webkit-transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  158. transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  159. }
  160. }
  161. @keyframes smokeFirefox {
  162. 0% {
  163. -webkit-transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  164. transform: scale(1.58, 1.2) translateY(-75px) skew(0);
  165. }
  166. 100% {
  167. -webkit-transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  168. transform: scale(1.58, 1.21) translateY(-75px) skew(1deg);
  169. }
  170. }
  171. .flame 0%, .flame 100% {
  172. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg);
  173. transform: translate(265px, 249px) scale(1.9) rotate(180deg);
  174. }
  175. .flame {
  176. -webkit-animation: burnInner2 .1s infinite ease-in-out alternate;
  177. animation: burnInner2 .1s infinite ease-in-out alternate;
  178. }
  179. @-webkit-keyframes burnInner2 {
  180. 0% {
  181. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  182. transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  183. }
  184. 100% {
  185. -webkit-transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  186. transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  187. }
  188. }
  189. @keyframes burnInner2 {
  190. 0% {
  191. -webkit-transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  192. transform: translate(265px, 249px) scale(1.9) rotate(180deg) skew(5deg);
  193. }
  194. 100% {
  195. -webkit-transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  196. transform: translate(265px, 253px) scale(2.2) rotate(180deg) skew(-5deg);
  197. }
  198. }
  199. @-webkit-keyframes thurst {
  200. 0% {
  201. opacity: 1;
  202. }
  203. 100% {
  204. opacity: .5;
  205. }
  206. }
  207. @keyframes thurst {
  208. 0% {
  209. opacity: 1;
  210. }
  211. 100% {
  212. opacity: .5;
  213. }
  214. }
  215. h2 {
  216. font-size: 22px;
  217. max-width: 500px;
  218. margin: 5px auto 0;
  219. }
  220. main p {
  221. font-size: 16px;
  222. line-height: 20px;
  223. max-width: 390px;
  224. margin: 15px auto 0;
  225. color: #888888;
  226. }
  227. footer {
  228. padding: 25px 0;
  229. position: fixed;
  230. left: 50%;
  231. bottom: 0;
  232. width: 960px;
  233. -webkit-transform: translateX(-50%);
  234. transform: translateX(-50%);
  235. -webkit-transform-style: preserve-3d;
  236. transform-style: preserve-3d;
  237. border-top: 1px solid #efefef;
  238. }
  239. .option {
  240. float: left;
  241. width: 33.33%;
  242. box-sizing: border-box;
  243. padding-right: 5px;
  244. }
  245. .option svg {
  246. width: 25px;
  247. height: 25px;
  248. fill: gray;
  249. border: 1px solid #d6d6d6;
  250. padding: 5px;
  251. border-radius: 100%;
  252. float: left;
  253. margin-right: 10px;
  254. }
  255. .option div {
  256. display: table;
  257. }
  258. .option h4 {
  259. color: #19865C;
  260. font-size: 19px;
  261. }
  262. .option p {
  263. font-weight: 300;
  264. font-size: 15px;
  265. padding-top: 3px;
  266. color: #757575;
  267. }
  268. @media (max-width: 996px) {
  269. body, footer {
  270. max-width: 780px;
  271. }
  272. .logo h2 {
  273. margin-left: 0px;
  274. }
  275. }
  276. @media (max-width: 800px) {
  277. footer, main {
  278. position: relative;
  279. }
  280. footer {
  281. height: 100%;
  282. }
  283. .option {
  284. position: relative;
  285. width: 100%;
  286. left: auto;
  287. right: auto;
  288. top: auto;
  289. padding: 0 25px;
  290. margin-bottom: 60px;
  291. }
  292. .two {
  293. margin-left: 0px;
  294. -webkit-transform: none;
  295. transform: none;
  296. }
  297. .logo, .option, .release-notes {
  298. float: none;
  299. }
  300. .figure {
  301. margin-top: 10px;
  302. }
  303. main {
  304. padding: 0 25px;
  305. }
  306. main h2 {
  307. font-size: 18px;
  308. }
  309. main p {
  310. font-size: 14px;
  311. }
  312. header {
  313. padding-left: 20px;
  314. padding-right: 20px;
  315. }
  316. footer {
  317. overflow: hidden;
  318. width: 100%;
  319. margin-top: 50px;
  320. }
  321. }
  322. @media (min-width: 801px) and (max-height: 730px) {
  323. .figure {
  324. margin-top: 80px;
  325. }
  326. }
  327. @media (min-width: 801px) and (max-height: 600px) {
  328. footer {
  329. position: relative;
  330. margin: 135px auto 0;
  331. }
  332. .figure {
  333. margin-top: 50px;
  334. }
  335. }
  336. </style>
  337. </head>
  338. <body>
  339. <header class="u-clearfix">
  340. <div class="logo">
  341. <a href="https://www.djangoproject.com/" target="_blank" rel="noopener">
  342. <h2>django</h2>
  343. </a>
  344. </div>
  345. <div class="release-notes">
  346. <p>{% blocktrans %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/" target="_blank" rel="noopener">release notes</a> for Django {{ version }}{% endblocktrans %}</p>
  347. </div>
  348. </header>
  349. <main>
  350. <div class="figure">
  351. <svg class="figure__animation" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
  352. <path fill="#FFF" d="M0 0h512v512H0z"></path>
  353. <text transform="translate(97.173 475.104)"></text>
  354. <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>
  355. <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>
  356. <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>
  357. <circle cx="256.3" cy="144.8" fill="#FFF" r="15.5"></circle>
  358. <circle class="circle" cx="256.3" cy="144.8" fill="#84DBFF" r="12.2"></circle>
  359. <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>
  360. <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>
  361. <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>
  362. <rect class="exhaust" fill="#6DDCBD" x="241" y="220" width="30" height="8"></rect>
  363. <rect class="exhaust two" fill="#FF871C" x="245" y="231" width="20" height="9"></rect>
  364. <rect class="exhaust__line" fill="#E6E9EE" x="252" y="240" width="7" height="90"></rect>
  365. <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>
  366. </svg>
  367. </div>
  368. <h2>{% trans "The install worked successfully! Congratulations!" %}</h2>
  369. <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>
  370. </main>
  371. <footer class="u-clearfix">
  372. <a href="https://docs.djangoproject.com/en/{{ version }}/" target="_blank" rel="noopener">
  373. <div class="option one">
  374. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  375. <defs>
  376. <path d="M0 0h24v24H0V0z" id="a"></path>
  377. </defs>
  378. <clipPath id="b">
  379. <use overflow="visible" xlink:href="#a"></use>
  380. </clipPath>
  381. <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>
  382. </svg>
  383. <div>
  384. <h4>{% trans "Django Documentation" %}</h4>
  385. <p>{% trans 'Topics, references, &amp; how-to’s' %}</p>
  386. </div>
  387. </div>
  388. </a>
  389. <a href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/" target="_blank" rel="noopener">
  390. <div class="option two">
  391. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
  392. <path d="M0 0h24v24H0V0z" fill="none"></path>
  393. <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>
  394. </svg>
  395. <div>
  396. <h4>{% trans "Tutorial: A Polling App" %}</h4>
  397. <p>{% trans "Get started with Django" %}</p>
  398. </div>
  399. </div>
  400. </a>
  401. <a href="https://www.djangoproject.com/community/" target="_blank" rel="noopener">
  402. <div class="option three">
  403. <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
  404. <path d="M0 0h24v24H0z" fill="none"></path>
  405. <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>
  406. </svg>
  407. <div>
  408. <h4>{% trans "Django Community" %}</h4>
  409. <p>{% trans "Connect, get help, or contribute" %}</p>
  410. </div>
  411. </div>
  412. </a>
  413. </footer>
  414. </body>
  415. </html>