Расширение языка шаблонов Django
Кое-кому не хватает сравнения значений в шаблонах Django.
Короткий ответ на предложенное решение: You’re Doing It Wrong.
Вынос логики приложения на уровень шаблонов только замедлит и без того небыстрый механизм.
Кое-кому не хватает сравнения значений в шаблонах Django.
Короткий ответ на предложенное решение: You’re Doing It Wrong.
Вынос логики приложения на уровень шаблонов только замедлит и без того небыстрый механизм.
Вышла Django 1.0 alpha.
Выпуск финальной версии 1.0 обещают на 2 сентября.
Из болезненно видимых изменений — newforms-admin.
Посвященная newforms-admin страница Django wiki может на первый взгляд показаться бесполезной для тех, кому приходится переносить уже существующий код.
Здесь раскрыта тема переноса существующего кода.
Выскажусь по поводу попадания newforms-admin в django-trunk.
Кто не подумав обновил django-trunk до Changeset 7967 — сам себе злобный Буратино.
В моем случае это вылилось в неработающий django-photologue, но мне повезло: следующая версия photologue доступна и заточена под newforms-admin.
Теперь нас ждет увлекательный процесс переписывания кусков Byteflow с учетом изменений в 7967.
Today we tested remote presentation prototype on two remote offices.
I think I should remove blocking call to pyorbited client from Django application. With current application layout Django blocks until orbited server gets confirmations from every remote client.
Finished remote presentation engine prototype.
It allows teacher to add presentations, pages and images. I used django-photologue for image handling.
Also teacher has ability to choose current presentation and flip it page by page (at teacher/student interfaces simultaneously).
Student can register to receive presentation pages.
Conceptually it will look like this:
This weekend I’ll publish source code for this prototype.
Yesterday I have finished integration of OpenID server in Django-based blog engine Byteflow.
It’s a self contained Django application instead of full project so you can easily integrate it into your own projects.
So now I have a working OpenID server implementation. Its based on Djangoid project by Nicolas Trangez, but implemented as almost self-contained Django application (it lost some guts during transplantation; lets hope it regrows them later).
It uses python-openid library and currently serves auth requests only for superuser on Byteflow blog.
Its not ready to be included in main Byteflow tree because of syncdb problems when using MySQL, really ugly templates and incorrect python-openid behavior.
To track current state of this application you can use this branch of Byteflow repository.
Last week I got assigned a task of showing presentations to remote offices (i.e. simultaneous page flipping in several places from central location).
For now I’m trying to implement this using Django/Orbited on server-side and AJAX on client-side.
Today I was exploring world of client-side scripting (including mandatory three hours of fascinated Wikipedia-link clicking) and got somewhat confused.
Is it simple as it looks like or I’m missing something?
Almost got it working.
OpenID Server will be arranged as Django application to ease further integration with Byteflow blog engine.
I’m trying to integrate OpenID server functionality to Byteflow blog engine.
For now I’m reading OpenID 2.0 specification and looking at reference implementations for Django such as supplied with python-openid package and DjangoID.