Database and all project in UTF. Using unicode branch.
in template (after generic view):
{% for entry in latest %}
Posted by {{ entry.author }} - {{ entry.pub_date|date:"j N Y,
H:i" }}
{% endfor %}
Have exception:
Traceback (most recent call last):
File "c:\web\Python24\lib\site-packages\d
Thanks. Its working
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTE
this is the form code:
class ContactForm(forms.Form):
subject = forms.CharField(max_length=255, label=_('Subject'))
email = forms.EmailField(label=_('Email'))
message = forms.CharField(max_length=1024, widget=Textarea,
label=_('Message'))
this is the view code:
def contacts_form(req
Joe писал(а):
> Are the news and articles using the same fields?
yes.
> News.objects.extras([ ' WHERE [...] UNION (SELECT * FROM ARTICLES
> WHERE [...] )' ])
:))ok. thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
I have 2 QuerySets: news and articles
I want to have new QuerySet: newsPlusArticles with data from news and
articles on it.
Solution list(news) + list(articles) is not right for me because i want
to use result QuerySet in Paginator object.
Thanks for Your answers.
--~--~-~--~~--
I have a problem to realize group manipulation with comments in Django
Admin interface.
This is must be grid with list of comments with checkbox near each
entry in grid.
Buttons: delete, favour by admin
Filters: new comments, NOT favour etc.
Any ideas ?
--~--~-~--~~~
PythonistL wrote:
> Which file should I change with
> if self.connection.get_server_info() >= '4.1':
> cursor.execute("SET NAMES utf8") ?
>
you should change all files with this entry
like this:
cursor.execute("SET NAMES ")
> Scater,
> the
in mysql config:
[mysqld]
default-character-set = cp1251
default-collation = cp1251_ukrainian_ci
init-connect="SET NAMES cp1251"
for your database:
create database dbase charset=utf8;
and ...
in file django/db/backends/mysql/base.py
we have:
if self.connection.get_server_info() >= '4.1':
curs
http://groups.google.com/group/django-users/browse_thread/thread/a28f4d79a801ae5e/4011309ec4836dff?lnk=gst&q=FCKeditor&rnum=2#4011309ec4836dff
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Nathan R. Yergler wrote:
> I was working on this yesterday and have a working Django application
> that supports most of the API. I'll be working on finishing it up
> today, and will release it tomorrow or Tuesday, depending on when I get
> things cleaned up. Anyway, that may make FCKeditor a g
I have simple model:
class Entry(models.Model):
...
body = models.TextField()
...
And i use rich-editor like TinyMCE or FCKEditor etc in admin-interface.
for edit a field "body"
I need functionality of uploading images for user's computer to this
editor directly.
I understand that decision depend
11 matches
Mail list logo