Изучаем Django
Messages for the rest of us
.article header {
font-family:LeagueGothicRegular,Impact,sans-serif;
font-weight:normal;
height:100px;
margin-bottom:20px;
position:relative;
text-transform:uppercase;
display: block;
}
.article header h1 {
color:#586C78;
font-size:42px;
font-weight:normal;
height:60px;
left:0;
letter-spacing:1px;
line-height:60px;
position:absolute;
top:10px;
}
.article header h2 {
color:#CCCCCC;
font-size:28px;
font-weight:normal;
height:40px;
left:0;
letter-spacing:1px;
line-height:40px;
position:absolute;
top:0;
}
.article header h2 a {
border:medium none;
color:#ABB9C1;
padding:0;
text-decoration:none;
}
.article header h2 sup {
font-size:0.7em;
line-height:1em;
text-decoration:underline;
vertical-align:6px;
}
.article p, .article ul, .article ol, .article dl {
font-size:18px;
line-height:1.75em;
margin-bottom:1em;
font-family:Palatino,Georgia,"Times New Roman",Times,serif;
}
.article .content {
width: 100% !important;
}
.article .editor {
font-size: 80%;
margin-top: 0;
padding: 0 0 0 0;
line-height: 100%;
display: block;
font-style: italic;
}
.article .footer p {
font-size: 14px;
line-height: 1.75em;
}
code {
font-size: 13px;
}
Messages for the rest of us
Jeff Croft February 10th 2010
Эта статья описывает изменения механизма сообщений в Django. В Django 1.2 можно посылать сообщения не только зарегистрированным пользователям, но и анонимным. Полностью переработан API.
Статья уже переведена мои другом Дмитрием Медвинским:
http://habrahabr.ru/blogs/django/87473/
Дмитрий мой бывший коллега и просто замечательный человек, follow @justadeveloper!
- 27 Май 01:17
