TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #221 · 5 мар.

В Python есть удобный почтовый debug-сервер. Он поможет проверить работу почты вашего web-проекта на этапе разработки без необходимости настраивать внешние сервисы или взаимодействие с реальными серверами Google или Yandex. Этот сервер просто печатает все сообщения в консоль. Таким образом удобно дебажить одноразовые ссылки активации или просто факт отправки письма по расписанию. Запускается очень просто: python3 -m smtpd -n -c DebuggingServer localhost:1025 Теперь настройте ваш проект на использование этого сервера. Например вот так настраивается Django: # settings.py if DEBUG: EMAIL_HOST = 'localhost' EMAIL_PORT = 1025 EMAIL_HOST_USER = '' EMAIL_HOST_PASSWORD = '' EMAIL_USE_TLS = False DEFAULT_FROM_EMAIL = '[email protected]' #django#tricks

Резултати

Пронајдени 114 слични објави

Глобално пребарување

djangoproject

@djangoproject · Post #204 · 29.11.2016 г., 17:19

https://www.coursereport.com/blog/ruby-on-rails-vs-python-and-django-which-should-a-beginner-learn Over a year ago I found myself in a position where my career options looked bleak. I had intended on going to graduate school for economic development. But, instead of dishing out the time and money for another two years of school, I decided to teach myself how to code. (I had always loved to problem solve, anyways.) But, like most beginners, I struggled with knowing where to start. I want to create web apps: but where should I begin? My ultimate goal was to eventually build web apps. After a little “web application development” research on Google, it became clear that Ruby on Rails (#RoR) and #Python and #Django are two very popular methods to create web apps. But which is best for a beginner to learn? #RoR requires less work to get up and running and #Django allows for more customization.

djangoproject

@djangoproject · Post #386 · 18.07.2017 г., 20:28

http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html Previous versions of #Celery required a separate library to work with #Django, but since 3.1 this is no longer the case. Django is supported out of the box now so this document only contains a basic way to integrate Celery and Django. You’ll use the same #API as non-Django users so you’re recommended to read the First Steps with Celery tutorial first and come back to this tutorial. When you have a working example you can continue to the Next Steps guide.

Добро пожаловать в мир продвинутогоPython программирования: @pro_python_code В канале вы найдет : 📃Статьи , 📚Книги 👨‍💻Код 🔗Ссылки и много другой полезной информации #Python#Django #Machine Learning #DataScience #Django#Advancedresearch 1 канал вместо тысячи учебников и курсов, подписывайтесь: 👇👇👇 🐍@pythonl

djangoproject

@djangoproject · Post #578 · 03.03.2018 г., 17:00

http://kennypham.me/2015/11/10/problem-with-react-router-and-django-url/ Hello there, I have faced this problem since the beginning of the current project. The problem is that #react-router and #Django#urls don't like each others.

djangoproject

@djangoproject · Post #452 · 29.09.2017 г., 13:28

https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ How to deploy with #WSGI Django’s primary deployment platform is WSGI, the Python standard for web servers and applications. Django’s startproject management command sets up a simple default WSGI configuration for you, which you can tweak as needed for your project, and direct any WSGI-compliant application #server to use. #django

djangoproject

@djangoproject · Post #560 · 25.01.2018 г., 11:55

https://realpython.com/blog/python/caching-in-django-with-redis/ Caching in #Django With #Redis Application performance is vital to the success of your product. In an environment where users expect website response times of less than a second, the consequences of a slow application can be measured in dollars and cents. Even if you are not selling anything, fast page loads improve the experience of visiting your site. Everything that happens on the server between the moment it receives a request to the moment it returns a response increases the amount of time it takes to load a page. As a general rule of thumb, the more processing you can eliminate on the server, the faster your application will perform. Caching data after it has been processed and then serving it from the #cache the next time it is requested is one way to relieve stress on the server. In this tutorial, we will explore some of the factors that bog down your application, and we will demonstrate how to implement caching with Redis to counteract their effects.

djangoproject

@djangoproject · Post #102 · 28.07.2016 г., 04:05

#Django REST #framework is a powerful and flexible toolkit for building #Web APIs. Some reasons you might want to use REST framework: The Web browsable #API is a huge usability win for your developers. Authentication policies including packages for OAuth1a and OAuth2. Serialization that supports both ORM and non-ORM data sources. Customizable all the way down - just use regular function-based views if you don't need the more powerful features. Extensive documentation, and great community support. Used and trusted by internationally recognised companies including Mozilla, Red Hat, Heroku, and Eventbrite. http://www.django-rest-framework.org/

Repositorio data science

@repo_science · Post #3222 · 25.05.2023 г., 15:02

#Python#Django#bootcamp#webDeveloper 🐍 Python and Django Full Stack Web Developer Bootcamp for 2023 We will teach you the latest technologies for building great web applications with Python 3 and Django! But we don’t just teach that, we also teach the Front End technologies you need to know, including HTML, CSS, and Javascript. This course can be your one stop shop for everything you need! It will serve as a useful reference for many of your questions as you begin your journey in becoming a web developer! 🔗Link 🔐@repo_science ----- Main channel: @repo_science Coupons: @freecoupons_reposcience -----

djangoproject

@djangoproject · Post #455 · 03.10.2017 г., 16:39

https://realpython.com/blog/python/asynchronous-tasks-with-django-and-celery/ Asynchronous Tasks With #Django and #Celery “Celery is an asynchronous task queue/job #queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.” For this post, we will focus on the scheduling feature to periodically run a job/task.

12•••45678910
ПретходнаСтраница 6 од 10Следна