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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #234 · 9 апр.

🤩Разбираем полезные исходники! Функция, возвращающая словарь с данными о панели задач. screen : номер монитора location : расположение на экране (внизу, слева и тд) geometry : QRect с координатами таскбара system_tray : доступен ли системный трей 🔸 Как может пригодиться? Я использую для открытия виджета по клику на значке в трее с выравниванием по таскбару. Аналогично работает попап у Dropbox клиента. 🔸 Тестил на Windows10 и Debian10. 🔸 В комплекте проверочный виджет который при создании точно перекрывает таскбар. Проверка правильности определения геометрии таскбара. Закрывается по клику. 🔸 Ещё в комплекте пример окошка, которое появляется в районе часов над таскбаром. 🔸 Есть один баг. При перекрытии тасбара в Gnome (linux) виджет не получает событий от мыши. Решения пока не нашел😕 Код забираем здесь ↗️ #source#qt

Hashtags

Резултати

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

Пребарај: #drf

当前筛选 #drf清除筛选
djangoproject

@djangoproject · Post #577 · 02.03.2018 г., 19:28

http://www.django-rest-framework.org/api-guide/authentication/#tokenauthentication #Authentication is the mechanism of associating an incoming request with a set of identifying credentials, such as the user the request came from, or the token that it was signed with. The permission and throttling policies can then use those credentials to determine if the request should be permitted. #REST framework provides a number of authentication schemes out of the box, and also allows you to implement custom schemes. #Django_REST_Framework#Django#DRF

djangoproject

@djangoproject · Post #589 · 29.03.2018 г., 06:38

http://books.agiliq.com/projects/django-api-polls-tutorial/en/latest/ Building #APIs with #Django and #Django_Rest_Framework(#DRF) Introductions Setup, Models and Admin A simple API with pure Django #Serializing and Deserializing Data Views and Generic Views More views and viewsets #Access_Control #Testing and Continuous Integeration Testing and Using API with Postman Documenting APIs (with Swagger and more)