On Wed, May 13, Joshua Partogi wrote:
> Dear all,
>
> Is it possible to do time and or date calculation in the template?
>
> Let's say I have a DateField {% now %} and want to subtract it with an
> IntegerField (let's say 4, to get 4 years before today) in the template. If
> it's possible, wha
On Tue, May 19, Anakin wrote:
> class Faves(models.Model):
> post = models.ForeignKey(CASTS-OR-ARTICLES)
> user = models.ForeignKey(User,unique=True)
>
> is it possible ?
You might want to use "generic relations" for this. They are described in
the contenttypes framework.
Hope
Hi,
I'm going to attend the Europython congress next week, and I'll arrive on
early Sunday afternoon. If anyone would like to gather together, please send
me an email, I'd appreciate!
Cheers,
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax
Hi,
you're using the alpha version of SuSE ... well ... there might very well be
a problem very deep in one of the libraries. The alpha releases aren't very
reliable. I'd suggest that you try it with another OS.
So long,
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnb
On Thu, Jul 12, Kenneth Gonsalves wrote:
>
>
> On 12-Jul-07, at 6:45 AM, nick feng wrote:
>
> > Which database is better for django, PostgreSQL or MYSQL?
>
> postgresql - general, not for django in particular
mysql does not support django fixtures (unless you use the ISAM storage
engine in m
On Fri, Aug 10, paulh wrote:
>
> I have tried the databrowse app on a couple of projects, but it fails
> on both with the same error. I wondered whether anyone else has seen
> this error message:
>
> coercing to Unicode: need string or buffer, __proxy__ found
>
> If you need the whole stack, l
Hi,
this looks very similar to this ticket (though I'm not sure):
http://code.djangoproject.com/ticket/5146
You might want to add your traceback as an attachment. Ah, you get
tracebacks that are easier to read if you click on the link
"switch to cut and paste view" (or similar, close to the top
]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~------~----~~----~--~~--~--~---
>From nobody Mon Sep 17 00:00:00 2001
From: Michael Radziej <[EMAIL PROTECTED]>
Date: Mon Aug 13 16:03:06 2007 +0200
Subject: [PATCH] com
Hi,
On Sun, Aug 19, Malcolm Tredinnick wrote:
>
> On Sun, 2007-08-19 at 00:27 -0700, cesco wrote:
> > File "C:\Python25\lib\site-packages\django\template\__init__.py" in
> > render
> > 739. return ''.join([force_unicode(b) for b in bits])
^^^
Malcolm: shouldn't this be u''.j
On Mon, Aug 27, Peter Nixon wrote:
>
> On Wed 11 Jul 2007, Michael Radziej wrote:
> > Hi,
> >
> > you're using the alpha version of SuSE ... well ... there might very well
> > be a problem very deep in one of the libraries. The alpha releases aren't
>
On Tue, Aug 28, Michael Radziej wrote:
>
> On Mon, Aug 27, Peter Nixon wrote:
>
> >
> > On Wed 11 Jul 2007, Michael Radziej wrote:
> > > Hi,
> > >
> > > you're using the alpha version of SuSE ... well ... there might very well
> >
Hi,
Though I cannot easily test with exactly your packages, I tested django
trunk under Ubuntu (feisty) with postgresql-8.2.3-3, python-2.5.1~rc1-0ubuntu3,
python-psycopg2-2.0.5.1-6ubuntu1, with a minimal model syncdb, and it
worked.
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-
On Wed, Aug 29, patrickk wrote:
> instead of sending the whole stack, it´s probably easier to just check
> it yourself:
> http://skip.dedhost-sil-076.sil.at/trailer/
File "/usr/lib/python2.4/site-packages/memcache.py" in _set
328. fullcmd = "%s %s %d %d %d\r\n%s" % (cmd, key, flags, time, len
On Wed, Aug 29, Kenneth Gonsalves wrote:
>
>
> On 28-Aug-07, at 9:55 PM, Chris Hoeppner wrote:
>
> >> when i upgraded to the latest svn head, I found that all the places
> >> in admin that had drop downs for choices were blank. I had always
> >> marked my choices for translation like so:
> >>
On Tue, Aug 28, Greg wrote:
>
> Hello,
> I have the following code in my models.py file
>
> class Orders(models.Model):
> timestamp = models.DateField()
> ... etc
>
> /
>
> I have the following in my view.py function
>
> from datetime import datetime
> o = Orders()
> o.ti
On Wed, Aug 29, patrickk wrote:
>
> I just changed
> self._cache.set(key, value, timeout or self.default_timeout)
> to
> self._cache.set(smart_str(key), value, timeout or
> self.default_timeout)
> in memcached.py
> and it seems to work.
>
> Don´t know if that´s a proper solution though.
Me eit
On Wed, Aug 29, Kenneth Gonsalves wrote:
>
>
> On 29-Aug-07, at 2:24 PM, Michael Radziej wrote:
>
> >>>> now, this doesnt work - when I remove the _(), then the choices
> >>>> appear. How do I then mark them for translation?
> >>>>
On Wed, Aug 29, Jarek Zgoda wrote:
>
> Kenneth Gonsalves napisał(a):
>
> >>> now, this doesnt work - when I remove the _(), then the choices
> >>> appear. How do I then mark them for translation?
> >>>
> >> Make sure to use gettext_lazy
> > i *am* using: from django.utils.tr
On Wed, Aug 29, Robin Becker wrote:
>
> Hi, we're having some troubles with latest django that are caused by the
> switch
> to unicode string output. In particular since we were already carefully
> handling
> the conversion and encoding of the database values we are now getting errors
> bec
On Thu, Aug 30, Jarek Zgoda wrote:
>
> Michael Radziej napisał(a):
>
> >>>> The next testing option is to try with non-lazy version.
> >>> that works! import gettext as _
> >> And that's a real bug, I think.
> >>
> >&g
On Thu, Aug 30, Anderson Santos wrote:
>
> I am still having this issue.
> I have in my settings DEFAULT_CHARSET = "utf-8", and I created a new
> database with UTF-8 encoding (using PGAdmin).
> So I go to admin page, click on my model and then the "add" button, I
> include a special char (á, ç,
On Fri, Aug 31, Rotlaus wrote:
>
> On Aug 31, 11:02 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> > > what is the preferred way to expand the user model? I would use a
> > > model with a OneToOne Field, but documentation says i should not. What
> > > should i do instead?
> >
> > A foreign key
On Fri, Aug 31, Anderson Santos wrote:
>
> Here the code:
>
>
> class Download(models.Model):
> """ Disponibilização de arquivos para download """
>
> descricao =
> models.CharField(verbose_name='Descrição',maxlength=250)
> data_do_arquivo = models.DateField()
> caminho_do_arq
On Fri, Aug 31, Anderson Santos wrote:
>
> Ahhh, finally!
Fine!
>
> Thank you very much, it worked now =D
> I didn't know about the __unicode__ trick
Well, the unicode documentation is dense to read, so one shouldn't rush
through it. But it contains also this trick:
http://www.djangoprojec
On Mon, Sep 03, Peter Nixon wrote:
> Tomorrow I will setup a vm for you running openSUSE 10.3 beta2 that you can
> play with to your hearts content. Would that be helpfull?
Peter, this is going to take a substantial amount of time. I'm not a core
developer, and I don't (any more) use SuSE, so i
On Wed, Sep 05, eXt wrote:
>
> On 5 Wrz, 10:37, Damodhar <[EMAIL PROTECTED]> wrote:
> > i want to take reaserch about this topic, and submit report, so canu
> > hel pme.
> Are you really going to write the report or you want someone to write
> it for you? The latest is my feeling after reading y
Hi Greg,
On Wed, Sep 05, Greg wrote:
>
> Michael,
> I'm using sqlite.
Thanks for the clarification. I've almost no experience with sqlite, sorry.
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The
On Thu, Sep 06, [EMAIL PROTECTED] wrote:
> I thought I was close with this, but it only returned tickets assigned
> to me. (The parenthesis around the 2nd and 3rd Q's obviously didn't
> help)
>
> Ticket.objects.filter(Q(private__exact=False) |
> (Q(private__exact=True) & Q(assigned_user__usernam
On Thu, Sep 06, Kenneth Gonsalves wrote:
>
>
> On 06-Sep-07, at 4:27 PM, Chris Hoeppner wrote:
>
> > Make sure you're serving the content with the right content type in
> > HTML, and that Django is working with the right content type, and that
> > the files have a coding declared.
>
> all thi
Hi Malcolm,
On Fri, Sep 07, Malcolm Tredinnick wrote:
> My bad; you're right. Only m2m does outer joins on trunk at the
> moment.:(
>
> I've been looking at the new stuff too much lately. This problem is
> fixed there, so if people can wait until that lands very shortly it will
> go away.
this
On Thu, Sep 06, Russell Keith-Magee wrote:
>
> On 9/6/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
> >
> > I'd *love* to have a sneak preview of your changes, any way? ;-)
>
> Hey! Get to the back of the line! No queue-jumping! I was here first! :-)
...
On Thu, Sep 06, Nis Jørgensen wrote:
>
> Michael Radziej skrev:
> > On Thu, Sep 06, Russell Keith-Magee wrote:
> >
> >
> >> On 9/6/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
> >>
> >>> I'd *love* to have a sneak previe
On Mon, Sep 10, [EMAIL PROTECTED] wrote:
>
> hi guys,
> i noticed there have been questions about this before, but none of
> those threads was helpful.
>
> i've got a simple db-request, the result should be ordered by a column
> "thema" in a foreign key table "Thema":
> Test.objects.select_rela
On Mon, Sep 10, Joe wrote:
>
> Hi,
>
> I have a medium-traffic django site (maybe 2 page views a day) and
> I am having a problem with users trying to log into the site.
>
> I am using the django view for logging in and logging out
> (django.contrib.auth.views.login). For some reason and
On Mon, Sep 10, [EMAIL PROTECTED] wrote:
>
> that helps, thanks very much...
>
> i got a bit confused by all the tickets concerning this issue. also
> the documentation doesn't mention any bugs, well bad luck ;)
I didn't mean to blame this on you, it's not easy to find your way through
the tic
abe:
> I'm trying to call object_list in
>
> django/views/generic/list_detail.py
>
> with allow_empty=True
>
> but if I use {{object_list.count}} in a template I get the following
> error:
>
>
> (1064, "You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL s
[EMAIL PROTECTED]:
> My site just keeps getting bigger and bigger, and the performance has
> gotten excruciatingly slow.
- database needs indexes?
- check how many queries your views generate. Perhaps you need
reorganization or select_related.
--
noris network AG - Deutschherrnstraße 15-19 - D-
On Wed, Mar 21, [EMAIL PROTECTED] wrote:
>
> Looking at my logs, I saw a gazillion requests from 81.208.31.216,
> which I believe is a malicious bot. I understand there's a way to use
> middleware to block IPs, but could somebody elaborate on that, or
> point me in the right direction? Thanks!
On Wed, Mar 21, Adam wrote:
>
> This causes a problem with DreamHost...I know they're not the best in
> the world, but I get this error now on any sites on their servers.
> Does anyone have a decent solution to get around this? Can I install
> a local copy somehow and make django use it instead
Hi,
changeset [4919] made the escape filter tag return unicode strings instead
of bytestrings, which seems to create problems as soon as you use non-ASCII
characters.
If you see any encoding problems, especially with oldforms or the admin
interface, please take a look at ticket #3924. The except
On Thu, Apr 05, Marcelo Ramos wrote:
> es_AR:
>
> #: views/generic/create_update.py:43
> #, python-format
> msgid "The %(verbose_name)s was created successfully."
> msgstr "Se creó con éxito %(verbose_name)."
this should be
msgstr "Se creó con éx
Hi,
mtredinnick has reverted the problematic portion in changeset [4933],
so it should be fine again with a current checkout.
Merci ;-)
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourci
On Wed, Apr 11, Sandro Dentella wrote:
>
> Hi all,
>
> I'm having problems understanding an error that raises with gettext and an
> accented letter. Italian translation of 'priority' is 'priorità', the text
> to be translated is:
>
> subject = _("Priority changed in ticket #%(id)s %(
On Thu, Apr 12, sandro.dentella wrote:
>
> Thanks! that was it. Now I can reproduce the error. Which is the
> "correct" solution?
>
> An easy and not really nice one is to encode title into
> DEFAULT_CHARSET, but I'd rather
> have _() return an unicode object. How should I do to obtain this?
N
Hi,
some of my views serve part of an html (or, actually, xhtml document),
such as:
"""
...
"""
or
"""
...
...
"""
I'm running into problems whatever content type I use.
I use an automatic validator during testing, that validates all text/html or
application/xhtml+xml doc
On Sun, May 20, David Priest wrote:
>
> After bashing at it some more, I had to conclude I was out to lunch.
>
> It is killing me to wait for newforms. It's senseless for me to
> learn old forms, but I'm having a helluva time making heads or tails
> of newforms. Some things that I swear m
Hi Malcolm,
A short disclaimer: I'm currently trying the unicode branch with the autoescape
patch and a
couple of other patches, so my problems might really be my own problems,
but I don't expect it.
First, I found that I have a problem with commit 5255 together with the test
client. It breaks
Hi Malcolm!
On Sat, May 26, Malcolm Tredinnick wrote:
> On Fri, 2007-05-25 at 17:17 +0200, Michael Radziej wrote:
> > First, I found that I have a problem with commit 5255 together with the test
> > client. It breaks loading the modules, probably due to recursive imports.
> &
On Fri, Jun 01, Sacher Khoudari wrote:
> can I add a book to an author? I mean, how do I call
> "django.views.generic.create_update.object_create" with "model=Book",
> and pass it the value for it's foreign key?
You're right, generic views are quite limited. And they work only with
"oldforms", w
On Mon, Sep 24, MiloZ wrote:
>
> You can here dowload the workflow engine contrib; a demo django
> project is included
> http://django-goflow-en.blogspot.com/
Oops, French--
It would be very nice to have an English description, at least a short
description. I can read a tiny bit of French, but
Hi Josh,
On Wed, Nov 14, Josh wrote:
>
> Fixed it.
>
> New feature in django-dev is HTML escaping for any template tags (good
> against cross-site scripting problems).
>
> Had to apply the safe filter to any template tags I don't want auto-
> escaped.
>
> OLD: {{ block.super|safe }}
>
> NEW
On Wed, Nov 14, Josh wrote:
>
> Hi Michael,
>
> > This should only be needed if you did not do what Malcolm called "Simple
> > backwards compatibility", i.e. to set {% autoescape off %}.
> >
> > So, am I right that you didn't put such a {% autoescape off %} tag in your
> > root template? Then y
On Wed, Nov 14, [EMAIL PROTECTED] wrote:
>
> I'm receiving this error as I work thru Tutorial 1 (http://
> www.djangoproject.com/documentation/tutorial01/):
>
> [EMAIL PROTECTED] mysite]# python manage.py syncdb
> Traceback (most recent call last):
> File "/usr/lib/python2.3/site-packages/dja
On Fri, Nov 23, Andrew McMurry wrote:
>
> I have models something like this:
>
> class Attribute (Model):
> name = CharField(maxlength=32)
> private = BooleanField(default=False)
>
> class Object (Model):
> ...
> attr = ForeignKey(Attribute, null=True, blank=True)
>
>
[EMAIL PROTECTED] wrote:
> ...
> The problem is: how can I pass context info through this? Suppose I'd
> want to maintain the login information the user has entered in the
> form, and reprint it in the form, together with an error message? Is
> there a way to HttpResponseRedirect and pass context
Daniel schrieb:
> Hi,
>
> just a quick question: did anyone succeed in installing Django 0.95 on
> Ubuntu Dapper Drake? I install python and python-dev, as well as the
> python-setuptools and python-mysqldb packages (all Python 2.4) and
> downloaded Django and tried running
>
> # sudo python set
limodou schrieb:
> No, I think you cann't do this in django. You should use custom
> manipulator for this.
Hmm, I think you could use it like this:
...
form1 = forms.FormWrapper(manipulator1, data1, errors1)
form2 = forms.FormWrapper(manipulator2, data2, errors2)
return render_to_response(templa
Malcolm Tredinnick schrieb:
> OK, this is the problem line: RequestContext tries to access "user". The
> reason we are using RequestContext is because of ticket #688 (which is
> quite a reasonable change). However, we have to conditionally avoid this
> user requirement.
Well, as a work around, i
Filipe schrieb:
> Michael Radziej wrote:
>> Well, as a work around, if you don't use a database, you should
>> remove
>> "django.core.context_processors.auth",
>> from TEMPLATE_CONTEXT_PROCESSORS in settings.py
>
> hmm, I don't have tha
Holger Schurig schrieb:
> I have a list that looks like this:
>
>list = Device.objects.all().order_by('parent', 'name')
>
> and I use this list in a view. Works fine. However, I want to
> have the items with a special name at the top of the generated
> list. I can easily create two lists,
Filipe schrieb:
> works perfectly. Haven't detected any side effect yet.
> thanks.
Good to know! Perhaps you should file a ticket that
context_processors.auth should behave better when there's no
session. If you do, please include a link to this thread.
Michael
--~--~-~--~~-
Greg Plesur schrieb:
> Hi all,
>
> I'm a new subscriber to this list, and am having an issue that I'm
> hoping you can help me with (I also posted this as a trouble-ticket,
> because I'm not seeing any references to this issue anywhere and it
> seems buggy):
>
> It looks like my models are ca
Hawkeye schrieb:
> I had the same reaction at first... "this has to be a transaction
> issue", but I decided to give it a try.
>
> I'm working from trunk, and here's what I did to recreate the problem:
>
> ==
> {{ In manage.py shell }}
a = Foo.objects.all()
a
> [< Foo: Foo 5>,
Greg Plesur schrieb:
> So that's a work-around that I can use, but...is it okay behavior? That
> seems pretty broken. Is it possible that Django's DB connection has
> auto-commit off, but explicitly calls COMMIT internally on save()
> operations when there's no Django-level transaction in pla
Sean Schertell schrieb:
>
> (3) FormWrappers are great until you need to do anything even
> slightly different from the django prescribed method, then you have
> to use custom manipulators which I found to be a giant pain in the
> ass. I spent literally several days working on one form (yes
Tom Smith schrieb:
> As everyone knows (or as yet to learn) the success of many
> technologies is down to how snazzy the end result is...
>
> So it surprises me that I can't find any reference to anyone uses
> MochKit (or any other client-based toolkit) with Django... in fact
> that seems t
Gábor Farkas schrieb:
> explicit is better than implicit :)
Oh come on, I can't hear that particular one any more. Why does
python have implicit storage handling with automatic reference
counting? We'd use C or Assembler if we really believed in that
Mantra.
But your advice is right, of cour
Hi,
I like KDevelop, for Linux. Works also fine for django templates.
Has syntax highlighting, class browsing, ctags, bookmarks, and
all the usual editor stuff. I really like the class browser for
looking up source code within django--Alt+C, start entering the
class name, and you're there.
B
doug schrieb:
> Hey-
>
>
> Why am I getting this error if the template file exists?
>
> #
> Template-loader postmortem
>
> Django tried loading these templates, in this order:
>
> * Using loader
> django.template.loaders.filesystem.load_template_source:
> o /home
[EMAIL PROTECTED] schrieb:
> Few days ago I've started to get such errors in the Admin Panel when I
> want to add something:
> ##
> IntegrityError: ERROR: duplicate key violates unique constraint
> "rk_news3_pkey"
>
> INSERT INTO "rk_news3"
> ("news_title","news_t
Vittorino Parenti schrieb:
> Hi,
> i found this in django documentation:
>
> "Note, however, that you can only use strings to refer to models in the
> same models.py file -- you cannot use a string to reference a model in a
> different application, or to reference a model that has been imported
DavidA:
>
> DavidA wrote:
>> I have some models that look like this
>>
>> class Analyst(models.Model):
>> name = models.CharField(maxlength=20, unique=True)
>>
>> class Strategy(models.Model):
>> name = models.CharField(maxlength=20)
>> description = models.CharField(maxlength=80)
>>
yary schrieb:
> Hi, new to Django-
>
> I have my data model all created. I can run syncdb once, and it creates
> my database schema:
>
> C:\webapp\Site>python manage.py syncdb
> Creating table auth_message
> Creating table auth_group
> Creating table auth_user
> Creating table auth_permission
>
Malcolm Tredinnick schrieb:
> On Tue, 2006-10-24 at 08:19 -0700, exdnc wrote:
>> Is there a 'proper' way to get the framework to add more than
>> num_in_admin related objects to both the Add/ChangeManipulator and to
>> the FormWrapper? Thanks!
>
> The short answer to your question is "no": the n
Jeremy Dunck schrieb:
> LJWorld.com, Lawrence.com, Tabblo.com,
> http://projects.washingtonpost.com/congress/,
> http://www.chicagocrime.org/
I'm curious: Are they all 0.95?
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49 911 9352-0 - Fax +49 911 9352-100
h
Adrian Rochau schrieb:
> Hello!
>
> I'm writing a frontend for a MySQL-based testsystem. I used inspectdb
> to create my Django-models and many fields are guessed correct, but
> every varchar-field has a length multiplyed by 3. Do you know why?
UTF-8?
Michael
--
noris network AG - Deutschher
Adam Seering schrieb:
> I would strongly second that. This seems to have fallen somewhat
> dead, though. Any thoughts?; anyone in favor of it?; anyone know of
> any reasons not to do it?
+1 from me. I have already missed it several times. The "where
1=0 solution" looks stupid. And the chan
David Cramer schrieb:
> As we were having issues lately with handling database load, I'm
> looking at alternatives for MySQL/Innodb in the future. One thing that
> came up was solidDB. I'm curious as to if this would be possible to use
> with Django, or if anyone has used this in the past and has
Hi George,
are you aware about the graphviz thing that does just what you
are writing?
http://code.djangoproject.com/wiki/DjangoGraphviz
So long,
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The
David Cramer schrieb:
> Why does Django join "files_file" twice? I do a
> .filter(file__game=blah).select_related(fields=['file', 'type']) so it
> joins the files table twice? This would happen the same with a normal
> .select_related() as well. Maybe the SQL engine optimizes this but I'm
> not s
Hi,
could you put this into the wiki? This type of stuff is a lot of
help to new users, but in the mailing list it gets lost. Please note
for which type of linux your script is intended, since init scripts
for, e.g. debian or SUSE, look quite different.
Michael
--
noris network AG - Deutschh
davo schrieb:
> For the record, django/mobile ended up in the 'too difficult' basket
> due to the session difficulties, which is a shame because we were
> digging it development-wise. I'd love to use it for the next pure web
> app though - keep up the good work guys :)
There is a thread in django
Picio schrieb:
Hello, dumb question:
which is the chance that patch #1435 will be integrated in trunk before
1.0?
I can't tell you, but perhaps this type of question gets more
attention at django-developers. You should mention 'aggregate
functions' in the subject.
How can I aplly this patch
guzru:
Julio Nobrega ha scritto:
I had a bunch of unicode errors using the template tag trans while
using Python 2.3. Upgrading to 2.4 solved all my problems.
What version of Python are you using?
I'm using python 2.4.3. I've also tried updating gettext without
success.
Nah, the proble
[EMAIL PROTECTED]:
> "/usr/local/lib/python2.4/site-packages/django/utils/translation/trans_real.py",
> line 167, in _fetch
> app = getattr(__import__(appname[:p], {}, {}, [appname[p+1:]]),
> appname[p+1:])
> AttributeError: 'module' object has no attribute 'blog'
>
>
> I have never seen any
Vadim Macagon:
> ...
> Let's say I have a Post model with a title field, that title must be
> unique for a given date. Here's a sequence of events that could
> potentially happen:
>
> time: t1). User A fills in a form to create a new Post, and sets the
> title to "Donkeys".
> time: t2). User B
Hi,
for evaluating this ticket, it would be important to get into
contact with anybody using cookies with mobile phones. Anybody, perhaps?
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourc
Adam Fast:
> I'm not using cookies for mobiles in any of my apps yet, but I have a
> Cingular 8125 and would be willing to help test it out.
Nice! I need to slab something together and will come back to you.
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-91
Felix Ingram:
> Quick reply to myself in case someone is looking through the archives.
> This seems to be covered in ticket 1801:
> http://code.djangoproject.com/ticket/1801
>
> It's noted as a 'hard bug'.
I heard you and have put the ticket into "Accepted". If anybody has
a solution or can prod
[EMAIL PROTECTED]:
> What would cause an (intermittent) error saying my view didn't return
> an HttpResponse object?
Perhaps, a missing return in your view function. Or if you try to
return directly a string. It gets intermittent if it's only
missing/wrong in a seldom used branch.
Michael
--
no
Hi,
there's a ticket with a patch about the order_by-Problem:
http://code.djangoproject.com/ticket/2210.
Does it help?
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-0 - Fax +49-911-9352-100
http://www.noris.de - The IT-Outsourcing Company
--~
Bram - Smartelectronix:
> Michael Radziej wrote:
>> Hi,
>>
>> there's a ticket with a patch about the order_by-Problem:
>>
>> http://code.djangoproject.com/ticket/2210.
>>
>> Does it help?
>
> Knowing it's broken helps a LOT :-)
&g
Hi,
we have a bit of chaos here ... Tickets 3370, 1356 and probably 952
all are about this problem, all are accepted, and #3370 and #1356
have very similar patches. I ask everybody to continue discussion in
django-developers ("unicode issues in multiple tickets"), and I ask
the authors of these t
Hi,
in the svn trunk, the dependency on setuptools was removed some time
ago because it made more problems than it solved. Perhaps you should
try to fetch it from svn, and then install it from there.
Michael
--
noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg -
Tel +49-911-9352-
Sebastien Armand [Pink]:
> - When I search something in my database, using icontains on a field, it
> doesn't work when there are non-asccii characters: a product field may
> contain (in french so with accents!!) télévision but when I look for "télé"
> I get a unicode error. If I look for "vision"
Ivan Sagalaev:
> Paul Childs wrote:
>> I wanted to do some checks through the shell, which I was opened
>> during my unit testing, and found that after making some queries using
>> Django objects there appeared to be no changes in the database. When I
>> checked the database using its admin tool t
Hi Sebastien,
I don't see where the exact problem is and whether there's already a
ticket, but this is a bug within the newforms package. It is caused
due to newforms putting unicode into the models, but most parts of
Django are not unicode ready. You can search in the existing tickets
(with cate
Hi Joseph,
Joseph Wenninger:
> I'm using an sqlite database with a model which has a Charfield named
> filepath.
>
> I'm trying to store an "utf-8" string there. I tried passing it as a byte
> string and as a unicode object. Saving works fine, but if I try to access the
> field I'm always get
Sebastien Armand [Pink]:
> No problem, thanks!
>
> There's already a ticket, it's here:
> http://code.djangoproject.com/ticket/3387
No, thanks for searching, but it's not. #3387 was triggered by using
queryset.filter(unicode_string)
You didn't use a unicode_string within filter(), though the
t
Bram - Smartelectronix:
> I'll be updating the ticket, but I was wondering when the ticket would
> be merged with trunk.
Someone needs to writes tests for this. As soon as this has been
done, the ticket can be promoted to "ready for checkin", which means
added core developer attention ;-)
Mic
1 - 100 of 194 matches
Mail list logo