├── .github └── FUNDING.yml ├── .gitignore ├── .nvmrc ├── .travis.yml ├── .yaspellerrc ├── LICENSE ├── README.md ├── README_EN.md ├── _config.yml ├── package-lock.json ├── package.json └── slides.md /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: amureki 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 12.16.3 -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | branches: 3 | only: 4 | - master 5 | cache: 6 | directories: 7 | - node_modules 8 | node_js: 9 | - stable 10 | -------------------------------------------------------------------------------- /.yaspellerrc: -------------------------------------------------------------------------------- 1 | { 2 | "excludeFiles": [ 3 | ".git", 4 | "node_modules" 5 | ], 6 | "lang": "ru", 7 | "fileExtensions": [ 8 | ".md" 9 | ], 10 | "dictionary": [ 11 | "технотрек", 12 | "хаб", 13 | "хабрахабра?" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Attribution-ShareAlike 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More_considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution-ShareAlike 4.0 International Public 58 | License 59 | 60 | By exercising the Licensed Rights (defined below), You accept and agree 61 | to be bound by the terms and conditions of this Creative Commons 62 | Attribution-ShareAlike 4.0 International Public License ("Public 63 | License"). To the extent this Public License may be interpreted as a 64 | contract, You are granted the Licensed Rights in consideration of Your 65 | acceptance of these terms and conditions, and the Licensor grants You 66 | such rights in consideration of benefits the Licensor receives from 67 | making the Licensed Material available under these terms and 68 | conditions. 69 | 70 | 71 | Section 1 -- Definitions. 72 | 73 | a. Adapted Material means material subject to Copyright and Similar 74 | Rights that is derived from or based upon the Licensed Material 75 | and in which the Licensed Material is translated, altered, 76 | arranged, transformed, or otherwise modified in a manner requiring 77 | permission under the Copyright and Similar Rights held by the 78 | Licensor. For purposes of this Public License, where the Licensed 79 | Material is a musical work, performance, or sound recording, 80 | Adapted Material is always produced where the Licensed Material is 81 | synched in timed relation with a moving image. 82 | 83 | b. Adapter's License means the license You apply to Your Copyright 84 | and Similar Rights in Your contributions to Adapted Material in 85 | accordance with the terms and conditions of this Public License. 86 | 87 | c. BY-SA Compatible License means a license listed at 88 | creativecommons.org/compatiblelicenses, approved by Creative 89 | Commons as essentially the equivalent of this Public License. 90 | 91 | d. Copyright and Similar Rights means copyright and/or similar rights 92 | closely related to copyright including, without limitation, 93 | performance, broadcast, sound recording, and Sui Generis Database 94 | Rights, without regard to how the rights are labeled or 95 | categorized. For purposes of this Public License, the rights 96 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 97 | Rights. 98 | 99 | e. Effective Technological Measures means those measures that, in the 100 | absence of proper authority, may not be circumvented under laws 101 | fulfilling obligations under Article 11 of the WIPO Copyright 102 | Treaty adopted on December 20, 1996, and/or similar international 103 | agreements. 104 | 105 | f. Exceptions and Limitations means fair use, fair dealing, and/or 106 | any other exception or limitation to Copyright and Similar Rights 107 | that applies to Your use of the Licensed Material. 108 | 109 | g. License Elements means the license attributes listed in the name 110 | of a Creative Commons Public License. The License Elements of this 111 | Public License are Attribution and ShareAlike. 112 | 113 | h. Licensed Material means the artistic or literary work, database, 114 | or other material to which the Licensor applied this Public 115 | License. 116 | 117 | i. Licensed Rights means the rights granted to You subject to the 118 | terms and conditions of this Public License, which are limited to 119 | all Copyright and Similar Rights that apply to Your use of the 120 | Licensed Material and that the Licensor has authority to license. 121 | 122 | j. Licensor means the individual(s) or entity(ies) granting rights 123 | under this Public License. 124 | 125 | k. Share means to provide material to the public by any means or 126 | process that requires permission under the Licensed Rights, such 127 | as reproduction, public display, public performance, distribution, 128 | dissemination, communication, or importation, and to make material 129 | available to the public including in ways that members of the 130 | public may access the material from a place and at a time 131 | individually chosen by them. 132 | 133 | l. Sui Generis Database Rights means rights other than copyright 134 | resulting from Directive 96/9/EC of the European Parliament and of 135 | the Council of 11 March 1996 on the legal protection of databases, 136 | as amended and/or succeeded, as well as other essentially 137 | equivalent rights anywhere in the world. 138 | 139 | m. You means the individual or entity exercising the Licensed Rights 140 | under this Public License. Your has a corresponding meaning. 141 | 142 | 143 | Section 2 -- Scope. 144 | 145 | a. License grant. 146 | 147 | 1. Subject to the terms and conditions of this Public License, 148 | the Licensor hereby grants You a worldwide, royalty-free, 149 | non-sublicensable, non-exclusive, irrevocable license to 150 | exercise the Licensed Rights in the Licensed Material to: 151 | 152 | a. reproduce and Share the Licensed Material, in whole or 153 | in part; and 154 | 155 | b. produce, reproduce, and Share Adapted Material. 156 | 157 | 2. Exceptions and Limitations. For the avoidance of doubt, where 158 | Exceptions and Limitations apply to Your use, this Public 159 | License does not apply, and You do not need to comply with 160 | its terms and conditions. 161 | 162 | 3. Term. The term of this Public License is specified in Section 163 | 6(a). 164 | 165 | 4. Media and formats; technical modifications allowed. The 166 | Licensor authorizes You to exercise the Licensed Rights in 167 | all media and formats whether now known or hereafter created, 168 | and to make technical modifications necessary to do so. The 169 | Licensor waives and/or agrees not to assert any right or 170 | authority to forbid You from making technical modifications 171 | necessary to exercise the Licensed Rights, including 172 | technical modifications necessary to circumvent Effective 173 | Technological Measures. For purposes of this Public License, 174 | simply making modifications authorized by this Section 2(a) 175 | (4) never produces Adapted Material. 176 | 177 | 5. Downstream recipients. 178 | 179 | a. Offer from the Licensor -- Licensed Material. Every 180 | recipient of the Licensed Material automatically 181 | receives an offer from the Licensor to exercise the 182 | Licensed Rights under the terms and conditions of this 183 | Public License. 184 | 185 | b. Additional offer from the Licensor -- Adapted Material. 186 | Every recipient of Adapted Material from You 187 | automatically receives an offer from the Licensor to 188 | exercise the Licensed Rights in the Adapted Material 189 | under the conditions of the Adapter's License You apply. 190 | 191 | c. No downstream restrictions. You may not offer or impose 192 | any additional or different terms or conditions on, or 193 | apply any Effective Technological Measures to, the 194 | Licensed Material if doing so restricts exercise of the 195 | Licensed Rights by any recipient of the Licensed 196 | Material. 197 | 198 | 6. No endorsement. Nothing in this Public License constitutes or 199 | may be construed as permission to assert or imply that You 200 | are, or that Your use of the Licensed Material is, connected 201 | with, or sponsored, endorsed, or granted official status by, 202 | the Licensor or others designated to receive attribution as 203 | provided in Section 3(a)(1)(A)(i). 204 | 205 | b. Other rights. 206 | 207 | 1. Moral rights, such as the right of integrity, are not 208 | licensed under this Public License, nor are publicity, 209 | privacy, and/or other similar personality rights; however, to 210 | the extent possible, the Licensor waives and/or agrees not to 211 | assert any such rights held by the Licensor to the limited 212 | extent necessary to allow You to exercise the Licensed 213 | Rights, but not otherwise. 214 | 215 | 2. Patent and trademark rights are not licensed under this 216 | Public License. 217 | 218 | 3. To the extent possible, the Licensor waives any right to 219 | collect royalties from You for the exercise of the Licensed 220 | Rights, whether directly or through a collecting society 221 | under any voluntary or waivable statutory or compulsory 222 | licensing scheme. In all other cases the Licensor expressly 223 | reserves any right to collect such royalties. 224 | 225 | 226 | Section 3 -- License Conditions. 227 | 228 | Your exercise of the Licensed Rights is expressly made subject to the 229 | following conditions. 230 | 231 | a. Attribution. 232 | 233 | 1. If You Share the Licensed Material (including in modified 234 | form), You must: 235 | 236 | a. retain the following if it is supplied by the Licensor 237 | with the Licensed Material: 238 | 239 | i. identification of the creator(s) of the Licensed 240 | Material and any others designated to receive 241 | attribution, in any reasonable manner requested by 242 | the Licensor (including by pseudonym if 243 | designated); 244 | 245 | ii. a copyright notice; 246 | 247 | iii. a notice that refers to this Public License; 248 | 249 | iv. a notice that refers to the disclaimer of 250 | warranties; 251 | 252 | v. a URI or hyperlink to the Licensed Material to the 253 | extent reasonably practicable; 254 | 255 | b. indicate if You modified the Licensed Material and 256 | retain an indication of any previous modifications; and 257 | 258 | c. indicate the Licensed Material is licensed under this 259 | Public License, and include the text of, or the URI or 260 | hyperlink to, this Public License. 261 | 262 | 2. You may satisfy the conditions in Section 3(a)(1) in any 263 | reasonable manner based on the medium, means, and context in 264 | which You Share the Licensed Material. For example, it may be 265 | reasonable to satisfy the conditions by providing a URI or 266 | hyperlink to a resource that includes the required 267 | information. 268 | 269 | 3. If requested by the Licensor, You must remove any of the 270 | information required by Section 3(a)(1)(A) to the extent 271 | reasonably practicable. 272 | 273 | b. ShareAlike. 274 | 275 | In addition to the conditions in Section 3(a), if You Share 276 | Adapted Material You produce, the following conditions also apply. 277 | 278 | 1. The Adapter's License You apply must be a Creative Commons 279 | license with the same License Elements, this version or 280 | later, or a BY-SA Compatible License. 281 | 282 | 2. You must include the text of, or the URI or hyperlink to, the 283 | Adapter's License You apply. You may satisfy this condition 284 | in any reasonable manner based on the medium, means, and 285 | context in which You Share Adapted Material. 286 | 287 | 3. You may not offer or impose any additional or different terms 288 | or conditions on, or apply any Effective Technological 289 | Measures to, Adapted Material that restrict exercise of the 290 | rights granted under the Adapter's License You apply. 291 | 292 | 293 | Section 4 -- Sui Generis Database Rights. 294 | 295 | Where the Licensed Rights include Sui Generis Database Rights that 296 | apply to Your use of the Licensed Material: 297 | 298 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 299 | to extract, reuse, reproduce, and Share all or a substantial 300 | portion of the contents of the database; 301 | 302 | b. if You include all or a substantial portion of the database 303 | contents in a database in which You have Sui Generis Database 304 | Rights, then the database in which You have Sui Generis Database 305 | Rights (but not its individual contents) is Adapted Material, 306 | 307 | including for purposes of Section 3(b); and 308 | c. You must comply with the conditions in Section 3(a) if You Share 309 | all or a substantial portion of the contents of the database. 310 | 311 | For the avoidance of doubt, this Section 4 supplements and does not 312 | replace Your obligations under this Public License where the Licensed 313 | Rights include other Copyright and Similar Rights. 314 | 315 | 316 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 317 | 318 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 319 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 320 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 321 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 322 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 323 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 324 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 325 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 326 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 327 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 328 | 329 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 330 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 331 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 332 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 333 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 334 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 335 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 336 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 337 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 338 | 339 | c. The disclaimer of warranties and limitation of liability provided 340 | above shall be interpreted in a manner that, to the extent 341 | possible, most closely approximates an absolute disclaimer and 342 | waiver of all liability. 343 | 344 | 345 | Section 6 -- Term and Termination. 346 | 347 | a. This Public License applies for the term of the Copyright and 348 | Similar Rights licensed here. However, if You fail to comply with 349 | this Public License, then Your rights under this Public License 350 | terminate automatically. 351 | 352 | b. Where Your right to use the Licensed Material has terminated under 353 | Section 6(a), it reinstates: 354 | 355 | 1. automatically as of the date the violation is cured, provided 356 | it is cured within 30 days of Your discovery of the 357 | violation; or 358 | 359 | 2. upon express reinstatement by the Licensor. 360 | 361 | For the avoidance of doubt, this Section 6(b) does not affect any 362 | right the Licensor may have to seek remedies for Your violations 363 | of this Public License. 364 | 365 | c. For the avoidance of doubt, the Licensor may also offer the 366 | Licensed Material under separate terms or conditions or stop 367 | distributing the Licensed Material at any time; however, doing so 368 | will not terminate this Public License. 369 | 370 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 371 | License. 372 | 373 | 374 | Section 7 -- Other Terms and Conditions. 375 | 376 | a. The Licensor shall not be bound by any additional or different 377 | terms or conditions communicated by You unless expressly agreed. 378 | 379 | b. Any arrangements, understandings, or agreements regarding the 380 | Licensed Material not stated herein are separate from and 381 | independent of the terms and conditions of this Public License. 382 | 383 | 384 | Section 8 -- Interpretation. 385 | 386 | a. For the avoidance of doubt, this Public License does not, and 387 | shall not be interpreted to, reduce, limit, restrict, or impose 388 | conditions on any use of the Licensed Material that could lawfully 389 | be made without permission under this Public License. 390 | 391 | b. To the extent possible, if any provision of this Public License is 392 | deemed unenforceable, it shall be automatically reformed to the 393 | minimum extent necessary to make it enforceable. If the provision 394 | cannot be reformed, it shall be severed from this Public License 395 | without affecting the enforceability of the remaining terms and 396 | conditions. 397 | 398 | c. No term or condition of this Public License will be waived and no 399 | failure to comply consented to unless expressly agreed to by the 400 | Licensor. 401 | 402 | d. Nothing in this Public License constitutes or may be interpreted 403 | as a limitation upon, or waiver of, any privileges and immunities 404 | that apply to the Licensor or You, including from the legal 405 | processes of any jurisdiction or authority. 406 | 407 | 408 | ======================================================================= 409 | 410 | Creative Commons is not a party to its public 411 | licenses. Notwithstanding, Creative Commons may elect to apply one of 412 | its public licenses to material it publishes and in those instances 413 | will be considered the “Licensor.” The text of the Creative Commons 414 | public licenses is dedicated to the public domain under the CC0 Public 415 | Domain Dedication. Except for the limited purpose of indicating that 416 | material is shared under a Creative Commons public license or as 417 | otherwise permitted by the Creative Commons policies published at 418 | creativecommons.org/policies, Creative Commons does not authorize the 419 | use of the trademark "Creative Commons" or any other trademark or logo 420 | of Creative Commons without its prior written consent including, 421 | without limitation, in connection with any unauthorized modifications 422 | to any of its public licenses or any other arrangements, 423 | understandings, or agreements concerning use of licensed material. For 424 | the avoidance of doubt, this paragraph does not form part of the 425 | public licenses. 426 | 427 | Creative Commons may be contacted at creativecommons.org. 428 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FAQ telegram-чата [@pydjango](https://t.me/pydjango) 🇷🇺 2 | 3 | [English version](README_EN.md) 4 | 5 | В этом репозитории находится полезная информация, собранная участниками чата. 6 | 7 | ## С чего начать 8 | 9 | - [Официальная документация](https://docs.djangoproject.com/en/) 🇬🇧 10 | - [Адаптированная на русский язык версия документации](http://djbook.ru/) 🇷🇺 11 | 12 | ## Книги 13 | 14 | - [Two Scoops of Django](https://twoscoopspress.com/products/two-scoops-of-django-1-11/) - must-read книга с best practices 🇬🇧 15 | - [Tango With Django](http://www.tangowithdjango.com/) 🇬🇧 16 | - [Building Django 2.0 Web Applications](https://www.packtpub.com/web-development/building-django-20-web-applications) 🇬🇧 17 | 18 | ## Статьи 19 | 20 | - [Tutorial от Django Girls](https://tutorial.djangogirls.org/) 🇬🇧 🇷🇺 21 | - [Tutorial от Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django) 🇬🇧 🇷🇺 22 | - [Deployment связки django+postgres+nginx+gunicorn на Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04) 🇬🇧 23 | - [Deployment связки django+nginx+uwsgi на Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04) 🇬🇧 24 | 25 | ## Руководство по написанию кода 26 | 27 | - [PEP8](https://www.python.org/dev/peps/pep-0008/) 🇬🇧 28 | - [Официальное руководство по написанию кода от разработчиков Django](https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/) 🇬🇧 29 | - [Github репозиторий с руководствами по написанию кода](https://github.com/octoenergy/styleguide/blob/master/python.md) 🇬🇧 30 | 31 | ## Тестирование 32 | 33 | - [Официальная документация](https://docs.djangoproject.com/en/dev/topics/testing/) 🇬🇧 34 | - [Документация по Django тестированию от Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Testing) 🇬🇧 35 | - [The Hitchhiker’s Guide to Python!](https://docs.python-guide.org/writing/tests/#the-basics) 🇬🇧 36 | 37 | ## Полезные ресурсы 38 | 39 | - [Сайт для поиска и сравнения батареек](https://djangopackages.org/) 🇬🇧 40 | - [github репозиторий, содержащий список батареек, проектов и полезных ресурсов](https://github.com/wsvincent/awesome-django) 🇬🇧 41 | - [Всё о Class-Based Views](http://ccbv.co.uk/) 🇬🇧 42 | - [Помощь по Django REST Framework](http://www.cdrf.co/) 🇬🇧 43 | - [Classy Django Forms](http://cdf.9vo.lt/) 🇬🇧 44 | - [Список must-watch докладов](https://gitlab.com/rosarior/django-must-watch) 🇬🇧 45 | - [Django-хаб Хабрахабра](https://habrahabr.ru/hub/django/) 🇷🇺 46 | - [Django на Python Дайджесте](https://pythondigest.ru/feed/?q=django) 🇷🇺 47 | - [Ошибки новичков](https://code.djangoproject.com/wiki/NewbieMistakes) 🇬🇧 48 | 49 | ## Видео 50 | 51 | - [Основы веб-разработки](https://www.youtube.com/playlist?list=PLrCZzMib1e9pg7ZLIOhmGSlmkMf8yEOLZ) - Обзорный курс, читавшийся в рамках образовательного проекта Mail.Ru Group - Технотрек. Курс посвящен разработке web-приложений среднего масштаба, с использованием Django. 🇷🇺 52 | - [Курс по разработке блога с поиском на Django 2.2 от CodingEntrepreneurs](https://youtu.be/-oQvMHpKkms) 🇬🇧 53 | - [Курс по разработке блога на Django 1.9 от CodingEntrepreneurs (плейлист)](https://www.youtube.com/playlist?list=PLEsfXFp6DpzQFqfCur9CJ4QnKQTVXUsRy) 🇬🇧 54 | - [Курс по разработке веб-приложения для сокращения ссылок на Django 1.10 от CodingEntrepreneurs (плейлист)](https://www.youtube.com/playlist?list=PLEsfXFp6DpzQSEMN5PXvEWuD2gEWVngCZ) 🇬🇧 55 | - [Курс по разработке веб-приложения на Django 1.11 от CodingEntrepreneurs](https://www.youtube.com/watch?v=yDv5FIAeyoY) 🇬🇧 56 | - [Руководство по публикации Django-приложения на Heroku от CodingEntrepreneurs](https://www.youtube.com/watch?v=4DggiEkbCTg) 🇬🇧 57 | - [Django Channels - ответ современному вебу](https://youtu.be/ij0PiSlYBu0) 🇷🇺 58 | - [MVC и его применение в Django](https://www.youtube.com/watch?v=HpL6ymFEuu4) - Видео объясняет паттерн MVC и предлагает удобный способ использовать его в Django для отделения бизнес-логики от представления данных (моделей). 🇷🇺 59 | 60 | ## Онлайн-курсы 61 | 62 | - [Web-технологии](https://stepik.org/course/Web-%D1%82%D0%B5%D1%85%D0%BD%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D0%B8-154/) - Курс посвящен разработке серверной части web-приложений с использованием Django, их архитектуре и протоколу HTTP. Курс состоит из видео-лекций и практических заданий. 🇷🇺 63 | 64 | ## Проходим интервью 65 | 66 | - [Полезные ссылки (Django, Python)](https://github.com/MaximAbramchuck/awesome-interview-questions#django) 🇬🇧 67 | - [Интересные вопросы от биржи Toptal](https://www.toptal.com/python/interview-questions) 🇬🇧 68 | 69 | ## Работа 70 | 71 | - [Telegram-канал, посвященный поиску и предложениям вакансий на Python/Django](https://t.me/django_jobs) 🇷🇺 72 | 73 | ## Презентации 74 | 75 | - [Презентации по Django с онлайн-курса Web-технологии](slides.md) 🇷🇺 76 | 77 | ## Open source Django проекты для практики 78 | 79 | - [Python.org](https://github.com/python/pythondotorg) 80 | - [Taiga](https://github.com/taigaio/taiga-back) 81 | - [Django Project](https://github.com/django/djangoproject.com) 82 | - [Django Girls](https://github.com/djangogirls) 83 | - [Sentry](https://github.com/getsentry/sentry) 84 | - [JazzBand](https://github.com/jazzband) 85 | - [Mezzanine CMS](https://github.com/stephenmcd/mezzanine) 86 | - [Health checks](https://github.com/healthchecks/healthchecks) 87 | - [Treeherder Mozilla](https://github.com/mozilla/treeherder) 88 | - [Bedrock Mozilla](https://github.com/mozilla/bedrock) 89 | - [Pontoon Mozilla](https://github.com/mozilla/pontoon) 90 | - [Kuma MDN Mozilla](https://github.com/mozilla/kuma) 91 | - [Mozillians - Mozilla contributors](https://github.com/mozilla/mozillians) 92 | - [Addons Mozilla](https://github.com/mozilla/addons-server) 93 | - [Review board](https://github.com/reviewboard/reviewboard) 94 | - [Django Packages](https://github.com/djangopackages/djangopackages) 95 | - [Edx platform](https://github.com/edx/edx-platform) 96 | - [PyCon](https://github.com/PyCon/pycon) 97 | - [Pinax](https://github.com/pinax/symposion) 98 | - [ADFS_Managers](https://github.com/Imperat/ADFS_managers) 99 | - [Cadasta platform](https://github.com/Cadasta/cadasta-platform) 100 | - [Zulip server - group chat](https://github.com/zulip/zulip) 101 | 102 | ## Правила и пожелания для участников чата 103 | 104 | - Постарайтесь не писать односложные сообщения в ряд. Осмыслите и сформулируйте свой вопрос, далее задайте его одним-двумя сообщениями 105 | - Off-topic сообщения (не относящиеся напрямую к теме чата) не приветствуется 106 | - Скриншоты кода, а также вложенные файлы с оным крайне не приветствуются 107 | - Telegram позволяет форматировать куски кода: 108 | 109 | ```python 110 | `print('Django FTW')` 111 | ``` 112 | 113 | ```python 114 | ``` 115 | def main(): 116 | return 'Hello @pydjango!' 117 | ``` 118 | ``` 119 | 120 | - В случае с большими фрагментами, пользуйтесь специальными сервисами: 121 | - [pastebin.com](https://pastebin.com/) 122 | - [dpaste.de](https://dpaste.de/) 123 | - [github gist](https://gist.github.com/) 124 | -------------------------------------------------------------------------------- /README_EN.md: -------------------------------------------------------------------------------- 1 | # FAQ by telegram-chat [@pydjango](https://t.me/pydjango) 🇬🇧 2 | 3 | [Russian version](README.md) 4 | 5 | In this repository you can find useful information collected by chat users. 6 | 7 | ## Where to start 8 | 9 | - [Official documentation](https://docs.djangoproject.com/en/) 🇬🇧 10 | - [Documentation, translated to russian](http://djbook.ru/) 🇷🇺 11 | 12 | ## Books 13 | 14 | - [Two Scoops of Django](https://twoscoopspress.com/products/two-scoops-of-django-1-11/) - must-read book with Django best practices 🇬🇧 15 | - [Tango With Django](http://www.tangowithdjango.com/) 🇬🇧 16 | - [Building Django 2.0 Web Applications](https://www.packtpub.com/web-development/building-django-20-web-applications) 🇬🇧 17 | 18 | ## Articles 19 | 20 | - [Tutorial by Django Girls](https://tutorial.djangogirls.org/) 🇬🇧 🇷🇺 21 | - [Tutorial by Mozilla](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django) 🇬🇧 22 | - [How to set up Django with Postgres, nginx and gunicorn on Ubuntu 18.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04) 🇬🇧 23 | - [How to serve Django applications with uwsgi and nginx on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04) 🇬🇧 24 | 25 | ## Code style and linting 26 | 27 | - [PEP8](https://www.python.org/dev/peps/pep-0008/) 🇬🇧 28 | - [Official Django coding style](https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/) 🇬🇧 29 | - [Github repository with good Python+Django style guide](https://github.com/octoenergy/styleguide/blob/master/python.md) 🇬🇧 30 | 31 | ## Testing 32 | 33 | - [Official Django Testing documentation](https://docs.djangoproject.com/en/dev/topics/testing/) 🇬🇧 34 | - [Mozilla docs about Django testing](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Testing) 🇬🇧 35 | - [The Hitchhiker’s Guide to Python!](https://docs.python-guide.org/writing/tests/#the-basics) 🇬🇧 36 | 37 | ## Useful resourses 38 | 39 | - [djangopackages.org](https://djangopackages.org/) 🇬🇧 40 | - [Awesome Django](https://github.com/wsvincent/awesome-django) 🇬🇧 41 | - [Django Class-Based Views](http://ccbv.co.uk/) 🇬🇧 42 | - [Django REST Framework cheatsheet](http://www.cdrf.co/) 🇬🇧 43 | - [Classy Django Forms](http://cdf.9vo.lt/) 🇬🇧 44 | - [Django must-watch videos](https://gitlab.com/rosarior/django-must-watch) 🇬🇧 45 | - [Django-hub on Habrahabr](https://habrahabr.ru/hub/django/) 🇷🇺 46 | - [Django tag on Python Digest RU](https://pythondigest.ru/feed/?q=django) 🇷🇺 47 | - [Newbie mistakes](https://code.djangoproject.com/wiki/NewbieMistakes) 🇬🇧 48 | 49 | ## Video 50 | 51 | - [Web-development basics](https://www.youtube.com/playlist?list=PLrCZzMib1e9pg7ZLIOhmGSlmkMf8yEOLZ) - Beginner level course by Mail.RU Group. Covers basics of web-development including Django Framework. 🇷🇺 52 | - [Writing blog with Django 2.2 by CodingEntrepreneurs](https://youtu.be/-oQvMHpKkms) 🇬🇧 53 | - [Writing blog with Django 1.9 by CodingEntrepreneurs (playlist)](https://www.youtube.com/playlist?list=PLEsfXFp6DpzQFqfCur9CJ4QnKQTVXUsRy) 🇬🇧 54 | - [Course for creating url shortener with Django 1.10 by CodingEntrepreneurs (playlist)](https://www.youtube.com/playlist?list=PLEsfXFp6DpzQSEMN5PXvEWuD2gEWVngCZ) 🇬🇧 55 | - [Writing web-application with Django 1.11 by CodingEntrepreneurs](https://www.youtube.com/watch?v=yDv5FIAeyoY) 🇬🇧 56 | - [Deployment Django application on Heroku platform by CodingEntrepreneurs](https://www.youtube.com/watch?v=4DggiEkbCTg) 🇬🇧 57 | - [Django Channels - introductory material](https://youtu.be/ij0PiSlYBu0) 🇷🇺 58 | - [MVC and its use in Django](https://www.youtube.com/watch?v=HpL6ymFEuu4) - The video explains the MVC pattern and offers a convenient way to use it in Django to separate business logic from the presentation of data (models). 🇷🇺 59 | 60 | ## Online-courses 61 | 62 | - [Web-technologies](https://stepik.org/course/Web-%D1%82%D0%B5%D1%85%D0%BD%D0%BE%D0%BB%D0%BE%D0%B3%D0%B8%D0%B8-154/) - Writing server-side web applications with Django, including learning architecture and HTTP-stack. 🇷🇺 63 | 64 | ## Interviews 65 | 66 | - [Useful links (Django, Python)](https://github.com/MaximAbramchuck/awesome-interview-questions#django) 🇬🇧 67 | - [Questions compilation by Toptal](https://www.toptal.com/python/interview-questions) 🇬🇧 68 | 69 | ## Job 70 | 71 | - [Telegram-chat, for job offers and CV's related to Python/Django](https://t.me/django_jobs) 🇷🇺 72 | 73 | ## Slides 74 | 75 | - [Slides about Django from Web-technologies course](slides.md) 🇷🇺 76 | 77 | ## Open source Django projects 78 | 79 | - [Python.org](https://github.com/python/pythondotorg) 80 | - [Taiga](https://github.com/taigaio/taiga-back) 81 | - [Django Project](https://github.com/django/djangoproject.com) 82 | - [Django Girls](https://github.com/djangogirls) 83 | - [Sentry](https://github.com/getsentry/sentry) 84 | - [JazzBand](https://github.com/jazzband) 85 | - [Mezzanine CMS](https://github.com/stephenmcd/mezzanine) 86 | - [Health checks](https://github.com/healthchecks/healthchecks) 87 | - [Treeherder Mozilla](https://github.com/mozilla/treeherder) 88 | - [Bedrock Mozilla](https://github.com/mozilla/bedrock) 89 | - [Pontoon Mozilla](https://github.com/mozilla/pontoon) 90 | - [Kuma MDN Mozilla](https://github.com/mozilla/kuma) 91 | - [Mozillians - Mozilla contributors](https://github.com/mozilla/mozillians) 92 | - [Addons Mozilla](https://github.com/mozilla/addons-server) 93 | - [Review board](https://github.com/reviewboard/reviewboard) 94 | - [Django Packages](https://github.com/djangopackages/djangopackages) 95 | - [Edx platform](https://github.com/edx/edx-platform) 96 | - [PyCon](https://github.com/PyCon/pycon) 97 | - [Pinax](https://github.com/pinax/symposion) 98 | - [ADFS_Managers](https://github.com/Imperat/ADFS_managers) 99 | - [Cadasta platform](https://github.com/Cadasta/cadasta-platform) 100 | - [Zulip server - group chat](https://github.com/zulip/zulip) 101 | 102 | ## Chat rules and recommendations 103 | 104 | - Please, don't write tons of one line messages. Think about your topic/question and then make one-two detailed messages 105 | - Try not to go off topic 106 | - We don't like code screenshots and code snippets in attachments 107 | - Telegram allows us to format code snippets: 108 | 109 | ```python 110 | `print('Django FTW')` 111 | ``` 112 | 113 | ```python 114 | ``` 115 | def main(): 116 | return 'Hello @pydjango!' 117 | ``` 118 | ``` 119 | 120 | - In case of long snippets, please use special services: 121 | - [pastebin.com](https://pastebin.com/) 122 | - [dpaste.de](https://dpaste.de/) 123 | - [github gist](https://gist.github.com/) 124 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-minimal -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "django_faq", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@isaacs/cliui": { 8 | "version": "8.0.2", 9 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 10 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 11 | "requires": { 12 | "string-width": "^5.1.2", 13 | "string-width-cjs": "npm:string-width@^4.2.0", 14 | "strip-ansi": "^7.0.1", 15 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 16 | "wrap-ansi": "^8.1.0", 17 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 18 | }, 19 | "dependencies": { 20 | "ansi-regex": { 21 | "version": "5.0.1", 22 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 23 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==" 24 | }, 25 | "ansi-styles": { 26 | "version": "4.3.0", 27 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 28 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 29 | "requires": { 30 | "color-convert": "^2.0.1" 31 | } 32 | }, 33 | "emoji-regex": { 34 | "version": "8.0.0", 35 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 36 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 37 | }, 38 | "string-width-cjs": { 39 | "version": "npm:string-width@4.2.3", 40 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 41 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 42 | "requires": { 43 | "emoji-regex": "^8.0.0", 44 | "is-fullwidth-code-point": "^3.0.0", 45 | "strip-ansi": "^6.0.1" 46 | }, 47 | "dependencies": { 48 | "strip-ansi": { 49 | "version": "6.0.1", 50 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 51 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 52 | "requires": { 53 | "ansi-regex": "^5.0.1" 54 | } 55 | } 56 | } 57 | }, 58 | "strip-ansi-cjs": { 59 | "version": "npm:strip-ansi@6.0.1", 60 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 61 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 62 | "requires": { 63 | "ansi-regex": "^5.0.1" 64 | } 65 | }, 66 | "wrap-ansi-cjs": { 67 | "version": "npm:wrap-ansi@7.0.0", 68 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 69 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 70 | "requires": { 71 | "ansi-styles": "^4.0.0", 72 | "string-width": "^4.1.0", 73 | "strip-ansi": "^6.0.0" 74 | }, 75 | "dependencies": { 76 | "string-width": { 77 | "version": "4.2.3", 78 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 79 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 80 | "requires": { 81 | "emoji-regex": "^8.0.0", 82 | "is-fullwidth-code-point": "^3.0.0", 83 | "strip-ansi": "^6.0.1" 84 | } 85 | }, 86 | "strip-ansi": { 87 | "version": "6.0.1", 88 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 89 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 90 | "requires": { 91 | "ansi-regex": "^5.0.1" 92 | } 93 | } 94 | } 95 | } 96 | } 97 | }, 98 | "@pkgjs/parseargs": { 99 | "version": "0.11.0", 100 | "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", 101 | "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", 102 | "optional": true 103 | }, 104 | "ansi-regex": { 105 | "version": "6.1.0", 106 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", 107 | "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==" 108 | }, 109 | "ansi-styles": { 110 | "version": "6.2.1", 111 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 112 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==" 113 | }, 114 | "async": { 115 | "version": "3.2.6", 116 | "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", 117 | "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==" 118 | }, 119 | "balanced-match": { 120 | "version": "1.0.2", 121 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 122 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" 123 | }, 124 | "brace-expansion": { 125 | "version": "2.0.1", 126 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 127 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 128 | "requires": { 129 | "balanced-match": "^1.0.0" 130 | } 131 | }, 132 | "ci-job-number": { 133 | "version": "0.3.0", 134 | "resolved": "https://registry.npmjs.org/ci-job-number/-/ci-job-number-0.3.0.tgz", 135 | "integrity": "sha1-NL3RFLDezhlgKHvUClcFEEGiqAA=", 136 | "dev": true 137 | }, 138 | "color-convert": { 139 | "version": "2.0.1", 140 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 141 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 142 | "requires": { 143 | "color-name": "~1.1.4" 144 | } 145 | }, 146 | "color-name": { 147 | "version": "1.1.4", 148 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 149 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 150 | }, 151 | "commander": { 152 | "version": "3.0.2", 153 | "resolved": "https://registry.npmjs.org/commander/-/commander-3.0.2.tgz", 154 | "integrity": "sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow==" 155 | }, 156 | "cross-spawn": { 157 | "version": "7.0.3", 158 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 159 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 160 | "requires": { 161 | "path-key": "^3.1.0", 162 | "shebang-command": "^2.0.0", 163 | "which": "^2.0.1" 164 | } 165 | }, 166 | "eastasianwidth": { 167 | "version": "0.2.0", 168 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 169 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" 170 | }, 171 | "emoji-regex": { 172 | "version": "9.2.2", 173 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 174 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" 175 | }, 176 | "entities": { 177 | "version": "4.5.0", 178 | "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", 179 | "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==" 180 | }, 181 | "escape-html": { 182 | "version": "1.0.3", 183 | "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 184 | "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" 185 | }, 186 | "eyo-kernel": { 187 | "version": "2.5.6", 188 | "resolved": "https://registry.npmjs.org/eyo-kernel/-/eyo-kernel-2.5.6.tgz", 189 | "integrity": "sha512-lAcX7HdPLlNB8Ia6Uvq2hFMx9S5VQSfAXkjBZJi9OXzFC1exDvX9lzk2YeQVB9EKufhlHlgeiD26mzg5q42Rgg==" 190 | }, 191 | "foreground-child": { 192 | "version": "3.3.0", 193 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", 194 | "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", 195 | "requires": { 196 | "cross-spawn": "^7.0.0", 197 | "signal-exit": "^4.0.1" 198 | } 199 | }, 200 | "glob": { 201 | "version": "10.4.5", 202 | "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", 203 | "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", 204 | "requires": { 205 | "foreground-child": "^3.1.0", 206 | "jackspeak": "^3.1.2", 207 | "minimatch": "^9.0.4", 208 | "minipass": "^7.1.2", 209 | "package-json-from-dist": "^1.0.0", 210 | "path-scurry": "^1.11.1" 211 | } 212 | }, 213 | "is-fullwidth-code-point": { 214 | "version": "3.0.0", 215 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 216 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==" 217 | }, 218 | "isexe": { 219 | "version": "2.0.0", 220 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 221 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" 222 | }, 223 | "isutf8": { 224 | "version": "4.0.1", 225 | "resolved": "https://registry.npmjs.org/isutf8/-/isutf8-4.0.1.tgz", 226 | "integrity": "sha512-1pk2/2pE+G48eETnp4uOLxQ9WUCxD7oVauYwhFEAGREJPDxEO7iX9qstylrCcx3lNWa1RCS2DxGTxrHdWqS7/w==" 227 | }, 228 | "jackspeak": { 229 | "version": "3.4.3", 230 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", 231 | "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", 232 | "requires": { 233 | "@isaacs/cliui": "^8.0.2", 234 | "@pkgjs/parseargs": "^0.11.0" 235 | } 236 | }, 237 | "lilconfig": { 238 | "version": "2.1.0", 239 | "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-2.1.0.tgz", 240 | "integrity": "sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==" 241 | }, 242 | "lru-cache": { 243 | "version": "10.4.3", 244 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", 245 | "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==" 246 | }, 247 | "marked": { 248 | "version": "10.0.0", 249 | "resolved": "https://registry.npmjs.org/marked/-/marked-10.0.0.tgz", 250 | "integrity": "sha512-YiGcYcWj50YrwBgNzFoYhQ1hT6GmQbFG8SksnYJX1z4BXTHSOrz1GB5/Jm2yQvMg4nN1FHP4M6r03R10KrVUiA==" 251 | }, 252 | "minimatch": { 253 | "version": "9.0.5", 254 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", 255 | "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", 256 | "requires": { 257 | "brace-expansion": "^2.0.1" 258 | } 259 | }, 260 | "minipass": { 261 | "version": "7.1.2", 262 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 263 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==" 264 | }, 265 | "node-fetch": { 266 | "version": "2.7.0", 267 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", 268 | "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", 269 | "requires": { 270 | "whatwg-url": "^5.0.0" 271 | } 272 | }, 273 | "package-json-from-dist": { 274 | "version": "1.0.0", 275 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", 276 | "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" 277 | }, 278 | "path-key": { 279 | "version": "3.1.1", 280 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 281 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" 282 | }, 283 | "path-scurry": { 284 | "version": "1.11.1", 285 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", 286 | "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", 287 | "requires": { 288 | "lru-cache": "^10.2.0", 289 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" 290 | } 291 | }, 292 | "picocolors": { 293 | "version": "1.1.0", 294 | "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", 295 | "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" 296 | }, 297 | "sax": { 298 | "version": "1.4.1", 299 | "resolved": "https://registry.npmjs.org/sax/-/sax-1.4.1.tgz", 300 | "integrity": "sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==" 301 | }, 302 | "secure-json-parse": { 303 | "version": "2.7.0", 304 | "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-2.7.0.tgz", 305 | "integrity": "sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==" 306 | }, 307 | "shebang-command": { 308 | "version": "2.0.0", 309 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 310 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 311 | "requires": { 312 | "shebang-regex": "^3.0.0" 313 | } 314 | }, 315 | "shebang-regex": { 316 | "version": "3.0.0", 317 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 318 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" 319 | }, 320 | "signal-exit": { 321 | "version": "4.1.0", 322 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 323 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==" 324 | }, 325 | "string-width": { 326 | "version": "5.1.2", 327 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 328 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 329 | "requires": { 330 | "eastasianwidth": "^0.2.0", 331 | "emoji-regex": "^9.2.2", 332 | "strip-ansi": "^7.0.1" 333 | } 334 | }, 335 | "strip-ansi": { 336 | "version": "7.1.0", 337 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 338 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 339 | "requires": { 340 | "ansi-regex": "^6.0.1" 341 | } 342 | }, 343 | "strip-json-comments": { 344 | "version": "3.1.1", 345 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", 346 | "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==" 347 | }, 348 | "tr46": { 349 | "version": "0.0.3", 350 | "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", 351 | "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" 352 | }, 353 | "webidl-conversions": { 354 | "version": "3.0.1", 355 | "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", 356 | "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" 357 | }, 358 | "whatwg-url": { 359 | "version": "5.0.0", 360 | "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", 361 | "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", 362 | "requires": { 363 | "tr46": "~0.0.3", 364 | "webidl-conversions": "^3.0.0" 365 | } 366 | }, 367 | "which": { 368 | "version": "2.0.2", 369 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 370 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 371 | "requires": { 372 | "isexe": "^2.0.0" 373 | } 374 | }, 375 | "wrap-ansi": { 376 | "version": "8.1.0", 377 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 378 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 379 | "requires": { 380 | "ansi-styles": "^6.1.0", 381 | "string-width": "^5.0.1", 382 | "strip-ansi": "^7.0.1" 383 | } 384 | }, 385 | "xml2js": { 386 | "version": "0.6.2", 387 | "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.6.2.tgz", 388 | "integrity": "sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==", 389 | "requires": { 390 | "sax": ">=0.6.0", 391 | "xmlbuilder": "~11.0.0" 392 | } 393 | }, 394 | "xmlbuilder": { 395 | "version": "11.0.1", 396 | "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", 397 | "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" 398 | }, 399 | "yandex-speller": { 400 | "version": "6.0.0", 401 | "resolved": "https://registry.npmjs.org/yandex-speller/-/yandex-speller-6.0.0.tgz", 402 | "integrity": "sha512-tX7GG3qHnb4C9N6Ns+lN6SIKc3R3pPqnxMX5mmNkbUKunwdF6Whl7DMczXP3uUV4BZ0OKX3DHR4gziq4mvcY3w==" 403 | }, 404 | "yaspeller": { 405 | "version": "10.0.1", 406 | "resolved": "https://registry.npmjs.org/yaspeller/-/yaspeller-10.0.1.tgz", 407 | "integrity": "sha512-jz9Vf/Q9TnpX7Lz1UqKzR6uM5rBkvvGCngWPvYHXPN6rHHNzqNbC7GIhYvtVcWNXQK/brqXj7Y8olOQiunC0HA==", 408 | "requires": { 409 | "async": "^3.2.5", 410 | "commander": "^3.0.0", 411 | "entities": "^4.5.0", 412 | "escape-html": "^1.0.3", 413 | "eyo-kernel": "^2.5.6", 414 | "glob": "^10.3.10", 415 | "isutf8": "^4.0.0", 416 | "lilconfig": "^2.1.0", 417 | "marked": "^10.0.0", 418 | "minimatch": "^9.0.3", 419 | "node-fetch": "^2.7.0", 420 | "picocolors": "^1.0.0", 421 | "secure-json-parse": "^2.7.0", 422 | "strip-json-comments": "^3.1.1", 423 | "xml2js": "^0.6.2", 424 | "yandex-speller": "^6.0.0" 425 | } 426 | }, 427 | "yaspeller-ci": { 428 | "version": "1.0.1", 429 | "resolved": "https://registry.npmjs.org/yaspeller-ci/-/yaspeller-ci-1.0.1.tgz", 430 | "integrity": "sha512-9bqag0PMXm0RnHUnITfkvEOueUyyG3NP/q8TOmS9UI8tvmTP7ima9/Z2vte2hf6yJxL2Y8nxv6Tkc78gKERJ/w==", 431 | "dev": true, 432 | "requires": { 433 | "ci-job-number": "^0.3.0", 434 | "yaspeller": ">=5.1.0" 435 | } 436 | } 437 | } 438 | } 439 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "django_faq", 3 | "version": "1.0.0", 4 | "description": "FAQ telegram-чата @pydjango", 5 | "scripts": { 6 | "spellcheck": "yaspeller-ci", 7 | "test": "npm run spellcheck ." 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/amureki/django_faq.git" 12 | }, 13 | "author": "amureki", 14 | "license": "CC-BY-SA-4.0", 15 | "bugs": { 16 | "url": "https://github.com/amureki/django_faq/issues" 17 | }, 18 | "homepage": "https://github.com/amureki/django_faq#readme", 19 | "devDependencies": { 20 | "yaspeller-ci": "^1.0.1" 21 | }, 22 | "dependencies": { 23 | "yaspeller": "^10.0.1" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /slides.md: -------------------------------------------------------------------------------- 1 | # Презентации по Django на русском языке с онлайн-курса Web-технологии 2 | 3 | ## 1) [Web-сервера](https://stepik.org/media/attachments/lesson/14825/lesson.pdf) 4 | 5 | ```text 6 | - Файлы и процессы сервера 7 | - Внутренняя архитектура сервера 8 | - Примеры конфигурации 9 | - Понятие location 10 | - Методы обработки сетевых соединений 11 | ``` 12 | 13 | ## 2) [Архитектура frontend-backend](https://stepik.org/media/attachments/lesson/14826/lesson.pdf) 14 | 15 | ```text 16 | - Задачи frontend сервера 17 | - Reverse proxy 18 | - Проксирование запросов 19 | - Application сервера 20 | - Протоколы CGI, FastCGI, WSGI 21 | ``` 22 | 23 | ## 3) [MVC Фреймворки (Часть 1)](https://stepik.org/media/attachments/lesson/14827/lesson.pdf) 24 | 25 | ```text 26 | - Компоненты MVC 27 | - Django как пример MVC фреймворка 28 | - Структура Django проекта 29 | - Модульность в Djnago: приложения 30 | - Конфигурация проектов 31 | - Маршрутизация URL 32 | - Обратная маршрутизация URL 33 | ``` 34 | 35 | ## 4) [MVC Фреймворки (Часть 2)](https://stepik.org/media/attachments/lesson/14828/lesson.pdf) 36 | 37 | ```text 38 | - Контроллеры в Django 39 | - Объекты HttpRequest и HttpResponse 40 | - Получение GET и POST параметров 41 | - Работа с HTTP заголовками в Django 42 | - Декораторы 43 | - Шаблонизация в Django 44 | - Наследование шаблонов 45 | - Context processors 46 | ``` 47 | 48 | ## 5) [Работа с СУБД](https://stepik.org/media/attachments/lesson/14829/lesson.pdf) 49 | 50 | ```text 51 | - Реляционная модель данных 52 | - Проектирование баз данных 53 | - Работа с СУБД в Python 54 | - Работа с СУБД в Django 55 | - Понятие ORM, модели Django 56 | - Описание таблиц и связей в модели Django 57 | - Типы полей в моделях 58 | ``` 59 | 60 | ## 6) [Django модели](https://stepik.org/media/attachments/lesson/14830/lesson.pdf) 61 | 62 | ```text 63 | - Создание и изменение объектов 64 | - Загрузка данных из базы 65 | - QuerySet 66 | - ModelManagers 67 | - Расширение ModelManagers 68 | - Миграции баз данных 69 | ``` 70 | 71 | ## 7) [Отображение данных](https://stepik.org/media/attachments/lesson/14831/lesson.pdf) 72 | 73 | ```text 74 | Отображение страницы объекта 75 | 404-страницы 76 | Отображение связанных сущностей 77 | Отображение списка объектов 78 | Постраничное отображение 79 | Progressive loading 80 | ``` 81 | 82 | ## 8) [Обработка форм](https://stepik.org/media/attachments/lesson/14832/lesson.pdf) 83 | 84 | ```text 85 | GET и POST формы 86 | Общий сценарий обработки 87 | Перенаправления в HTTP 88 | Описание форм в Django 89 | Типы полей в формах Django 90 | Валидация данных 91 | Использование форм в контроллерах и шаблонах 92 | CSRF 93 | ``` 94 | 95 | ## 9) [Сессии и Авторизация](https://stepik.org/media/attachments/lesson/14833/lesson.pdf) 96 | 97 | ```text 98 | Basic HTTP Authorization 99 | Механизм Cookie 100 | Установка и получение cookie в HTTP 101 | Авторизация с использованием cookie 102 | Сценарий входа: login 103 | Сценарий проверки сессии 104 | Middleware в Django 105 | Безопасное хранение паролей 106 | Безопасность сессий 107 | ``` 108 | 109 | # Дополнительные темы 110 | 111 | ## [Технология AJAX](https://stepik.org/media/attachments/lesson/14834/lesson.pdf) 112 | 113 | ```text 114 | AJAX на стоне клиента 115 | AJAX запросы с использованием jQuery 116 | Передача HTML и JSON в AJAX запросах 117 | Особенности контроллеров для AJAX 118 | Cross Origin Resource Sharing 119 | ``` 120 | 121 | ## [Real-time сообщения](https://stepik.org/media/attachments/lesson/14835/lesson.pdf) 122 | 123 | ```text 124 | Общая архитектура 125 | Polling 126 | Long-polling (comet) 127 | Server-push 128 | WebSocket 129 | Механизм обновления (Upgrade) соединений 130 | ``` 131 | --------------------------------------------------------------------------------