Django Channels tests: Task x got Future y attached to a different event loop

2022-11-03 Thread Jens de Ruiter
eatly appreciated :). Jens -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the w

Re: Django admin application for Android

2019-07-21 Thread Jens-Joris Decorte
Hi Alexandre, the app is written in Kotlin. Looked for using flutter but the webview support is not quite there yet.. Op woensdag 17 juli 2019 17:26:04 UTC+2 schreef Alexandre Guignard: > > That's cool, thanks 😉 > Which langage do You use for the app ? -- You received this message because you

Re: Django admin application for Android

2019-07-21 Thread Jens-Joris Decorte
UTC+2 schreef Derek: > > Can you explain more about the GOLD plan - what is it and how much does it > cost? > > On Monday, 15 July 2019 12:51:58 UTC+2, Jens-Joris Decorte wrote: >> >> Hello Django developers! >> >> Being both a Django developer and a heavy u

Re: Django admin application for Android

2019-07-21 Thread Jens-Joris Decorte
UTC+2 schreef Derek: > > Can you explain more about the GOLD plan - what is it and how much does it > cost? > > On Monday, 15 July 2019 12:51:58 UTC+2, Jens-Joris Decorte wrote: >> >> Hello Django developers! >> >> Being both a Django developer and a heavy u

Re: Django admin application for Android

2019-07-21 Thread Jens-Joris Decorte
UTC+2 schreef Derek: > > Can you explain more about the GOLD plan - what is it and how much does it > cost? > > On Monday, 15 July 2019 12:51:58 UTC+2, Jens-Joris Decorte wrote: >> >> Hello Django developers! >> >> Being both a Django developer and a heavy u

Problem with django.contrib.session datetimes after Django upgrade

2016-04-15 Thread Jens Wetzl
n into the same problem again. I use sqlite as the database backend, if that's relevant. Any idea what the problem might be? Thanks in advance! Jens -- ValueError at /subscriptions/ make_aware expects a naive datetime, got 2016-04-21 23:26:19.247888+00:00 Request Method: GET Req

custom model fields with to_python()/from_db_value() for different django version...

2015-06-17 Thread Jens Diemer
("Moved" from django-developers list) Am 17.06.2015 um 16:48 schrieb charettes:> Hi Jens, > > I'm not sure I understand what you are trying to achieve but I assume you want > to write a third-party field that supports both Django 1.7 and 1.8 without > raising depre

Re: phpBB3 to DjangoBB migration...

2012-07-24 Thread jens
jens wrote: > The last thing to migrate is the topic subscriptions, but django can't > handle the model. See: https://github.com/jedie/django-phpBB3/issues/5 This is now implemented with commit: https://github.com/jedie/django-phpBB3/commit/2c4835fceb1c7dc8df30b1ef50b2cc06d4425f5c

Re: phpBB3 to DjangoBB migration...

2012-07-23 Thread jens
We improve the migration. Seems that the most work is done! The last thing to migrate is the topic subscriptions, but django can't handle the model. See: https://github.com/jedie/django-phpBB3/issues/5 On 20 Jul., 15:27, jens wrote: > Anyone who interest the migration from phpBB3 to

phpBB3 to DjangoBB migration...

2012-07-20 Thread jens
e data Patches are welcome! Please send pull requests. """ -- Mfg. Jens Diemer -- 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 unsub

Call to manager._insert() in save_base() returns None

2011-09-08 Thread Jens Ã…dne Rydland
'billable_id') And the environment is: Django 1.3, Python 2.4.3 (RHEL 5), Postgres 8.1, using the postgresql_psycopg2 backend. -- mvh Jens Ã…dne Rydland -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

ANN: PyLucid CMS v0.9

2010-10-12 Thread jens
After a long time, we released PyLucid CMS in Version v0.9! The main goals are: * internationalization and localization support (Multilingual content) * Multi site support (Allows a single installation to serve multiple websites.) * Revision controlled content Please follow the install instructio

Re: I need help

2010-05-17 Thread Jens Rantil
Hi Hussain, Please be more descriptive in your subject line next time. It makes it easier for everyone subscribed to the list to acknowledge if the message is something is of interest or not. Thank you, Jens On 14 Maj, 10:51, Hussain Deikna wrote: > Hi, >  I plan to start writing my we

Re: django-weave needs contribution...

2010-03-17 Thread Jens Diemer
Am 07.03.2010 20:15, schrieb Jens: I started http://code.google.com/p/django-weave/ a Django reuseable Application witch implements a Firefox weave server. The Project is in planning/pre-alpha state. If anyone has interest to help, please contact me! Bookmark sync works now, since: http

Re: Thread safe language switching?

2010-03-10 Thread Jens Rantil
ld just use the normal './manage.py makemessages' to extract the translatable strings. Regards, Jens On Mar 8, 2:28 pm, Plovarna wrote: > Hello, > I just developing my first aplication with internationalization. I need to > get all verbose_name values of the model for each languag

Re: django-weave needs contribution...

2010-03-09 Thread Jens Diemer
Am 08.03.2010 07:44, schrieb Rizwan Mansuri: I am happy to help you but my experience with django is very much like starting level. Is that something helps you? You are welcome ;) -- Mfg. Jens Diemer http://www.jensdiemer.de -- You received this message because you are subscribed

django-weave needs contribution...

2010-03-07 Thread Jens
I started http://code.google.com/p/django-weave/ a Django reuseable Application witch implements a Firefox weave server. The Project is in planning/pre-alpha state. If anyone has interest to help, please contact me! Mfg. Jens -- You received this message because you are subscribed to the

Re: CI for Django projects

2010-02-19 Thread Jens Jahnke
now and it works. Regards, Jens -- 19. Hornung 2010, 19:38 Homepage : http://www.jan0sch.de BOFH excuse #33: piezo-electric interference pgp3IkkNCQECX.pgp Description: PGP signature

Re: Table with 4 Milions of rows

2010-01-13 Thread Jens Rantil
e of a table is rarely the problem. It is rather how you choose you indices and what to cache. Jens -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscrib

Re: DeprecationWarning: Non-ASCII character in models.py

2008-09-30 Thread Jens
I got the same message the other day and the solution was to put following line at the top (first line, befor everything else) of my models.py: #coding: utf8 worked for me, hope it'll work for you. Jens On 30 Sep., 13:07, Nick <[EMAIL PROTECTED]> wrote: > Hi, > > I'

ManyToMany relation and admin newforms

2008-09-30 Thread Jens
imple. Thank you so far Jens from Germany --~--~-~--~~~---~--~~ 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 th

Re: 'unicode' object has no attribute 'user'

2008-09-18 Thread Jens Diemer
_set.create(message="Mail was send > successfully.") -- Mfg. Jens Diemer http://www.jensdiemer.de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: MySQL timediff and datetime.timedelta

2008-09-03 Thread Jens Grivolla
_seconds() in MySQL so I don't have to deal with the time vs. timedelta issues. Ciao, Jens --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

MySQL timediff and datetime.timedelta

2008-09-02 Thread Jens Grivolla
ases other than using django.db.connection instead of MySQLdb.connect(...) I'm using default packages on Ubuntu 8.04 (django 0.96.1-2ubuntu2, mysqldb 1.2.2-5ubuntu1, mysql 5.0.51a-3ubuntu5.1). Any clues? Thanks, Jens --~--~-~--~~~---~--~~ You received this

Side effect if using threading.local ?

2008-06-02 Thread Jens
Hi... Are there exist any side effect by using threading.local, like it describe in the Wiki: http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser - Performance issue? - does it works in all server setup variants? Thx. Jens --~--~-~--~~~---~--~~ You

Re: UnicodeDecodeError: markdown failing to parse data fed by django

2008-04-12 Thread Jens Diemer
though -- there's already a ticket in Trac >> for it. > > Ok, that sounds cool (the pending fix, not the backwards incompatible > changes); thank you for the reply btw. ticket: http://code.djangoproject.com/ticket/6387 -- Mfg. Jens D

Re: Strange Django-error

2008-04-10 Thread Jens Diemer
d/index.fcgi no Traceback with.: www.domain.tld Any idea? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

ANN: PyLucid CMS v0.8.0 stable released...

2008-02-14 Thread Jens Diemer
ase_id=576538 Links = Homepage: http://www.pylucid.org Forum: http://www.pylucid.org/phpBB2/ Install Info: http://pylucid.org/_goto/107/install-PyLucid/ Update Info: http://pylucid.org/_goto/108/Update-PyLucid/ -- Jens Diemer A django powered CMS: http://www.pylucid.org --~--~

Bug? - model with property + objects.values()

2007-11-14 Thread Jens Diemer
ge has no field named 'name' - Why? Is this a bug? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because yo

Re: Build the _complete_ aboslute URI...

2007-10-31 Thread Jens Diemer
[EMAIL PROTECTED] schrieb: > On Wed, Oct 31, 2007 at 09:06:58AM +0100, Jens Diemer wrote: >> >> With get_absolute_url() [1] we can build a URL of a model entry. The Problem >> is, >> this is not really a _complete_ URL. The protocol and domain is absen

Build the _complete_ aboslute URI...

2007-10-31 Thread Jens Diemer
is always "http". Any better idea? [1] <http://www.djangoproject.com/documentation/model-api/#get-absolute-url> [2] <http://www.djangoproject.com/documentation/sites/#getting-the-current-domain-for-full-urls> -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~

Patch for 'mysql_old' users... (unicode error)

2007-09-26 Thread Jens Diemer
not. -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ 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@google

Re: How to clean the cache completely?

2007-09-20 Thread Jens Diemer
Deryck Hodge schrieb: > On 9/20/07, Jens Diemer <[EMAIL PROTECTED]> wrote: >> I can delete one entry in the cache. But how can i clean the cache >> completely? > Assuming your cache backend is memcached: > > from django.core.cache import cache > cache._cache

How to clean the cache completely?

2007-09-20 Thread Jens Diemer
I can delete one entry in the cache. But how can i clean the cache completely? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D

Re: Trigger a django user password change...

2007-08-31 Thread Jens Diemer
Jens Diemer schrieb: > I would like to do something if the django user password has been set or > update. > So i trigger signals.post_save with the User class, like this: > === > from django.db.models

Re: session expire_date

2007-08-10 Thread Jens Diemer
do this: -- now = datetime.datetime.now() cookie_age = datetime.timedelta(seconds=settings.SESSION_COOKIE_AGE) expiry_date = now + cookie_age -- -- Mfg. Jens Diemer A django pow

session expire_date

2007-08-09 Thread Jens Diemer
current_session_id = self.request.COOKIES[session_cookie_name] s = Session.objects.get(pk=current_session_id) expiry_date = s.expire_date -- There must be a simpler way for this, isn't it? -- Mfg. Jens D

Re: Trigger a django user password change...

2007-08-07 Thread Jens Diemer
there is an other way to trigger a django user password change and get the raw password??? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &

Trigger a django user password change...

2007-08-02 Thread Jens Diemer
is logged in. So it's not a really good idea. Any better ideas? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

create_or_update() shortcut

2007-08-02 Thread Jens Diemer
We have the shortcut get_or_create() [1], but whats about a create_or_update() ? [1] http://www.djangoproject.com/documentation/db-api/#get-or-create-kwargs -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You

Pickle model fields with cache...

2007-07-06 Thread Jens Diemer
def _set_value(self, value): self._cache["value"] = value self._value = pickle.dumps(value) _value = models.TextField() value = property(_get_value, _set_value) ... ----- -- Mfg. Jens

Re: Pickle model fields

2007-07-05 Thread Jens Diemer
) _value = models.TextField() value = property(_get_value, _set_value) ... - In a short test works this seems to work... Question: Is this a good idea? -- Mfg. Jens Diemer A django powered CMS: http

Re: quote django template tags for a html textarea...

2007-06-26 Thread Jens Diemer
Jens Diemer schrieb: > I would like to edit templates online. So i used newforms and > .form_for_instance() to build a html form. > The Problem: If there are django template tags in the content, the tag > rendered > by the template engine. But i don't want that. I want

Re: ForeignKey

2007-06-26 Thread Jens Diemer
ou need to create a relationship on a model that has not yet been defined, you can use the name of the model, rather than the model object itself: """ change: parent_menu_item = models.ForeignKey(Menu) to this: parent_menu_item = models.ForeignKey("

Re: Problem: locale.getdefaultlocale() returns (None, None) under apache2...

2007-06-26 Thread Jens Diemer
just return no timezone. I'll give it another look >> and put in some more fallbacks. > > This should be fixed in [5546]. Yes, now it fallback to "ascii" -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~--

Problem: locale.getdefaultlocale() returns (None, None) under apache2...

2007-06-26 Thread Jens Diemer
>>> import locale >>> print locale.getdefaultlocale() ('de_DE', 'UTF8') - Somebody a idea? -- Mfg. Jens Diemer A django powered CMS:

quote django template tags for a html textarea...

2007-06-26 Thread Jens Diemer
mplate-output So i have no change to replace "{" and "}"... If i replace it before i make .form_for_instance() the escaped sequence "{" would be escaped a second time to this: "&#x7B;". How can i handle this??? -- Mfg. Jens Diemer A django powered CMS:

Re: newforms: How to make a Checkboxed user select list...

2007-06-26 Thread Jens Diemer
Jens Diemer schrieb: > I would like to make a newforms user select list, from every existing django > users, looks like this: I have found a solution: class MailForm(forms.Form): users = forms.ModelMultipleChoiceField( queryset=User.objects.all(),

newforms: How to make a Checkboxed user select list...

2007-06-25 Thread Jens Diemer
uot;>[EMAIL PROTECTED] -- I don't know how to make this. Has anyone a idea? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: no newforms.TextField() available?!?!?

2007-06-25 Thread Jens Diemer
James Bennett schrieb: > On 6/25/07, Jens Diemer <[EMAIL PROTECTED]> wrote: >> This works: >> mail_text = forms.CharField(widget=forms.Textarea) > > That's by design. Whether to show an input type="text" or a textarea > is a matter of widget

no newforms.TextField() available?!?!?

2007-06-25 Thread Jens Diemer
This works: mail_text = forms.CharField(widget=forms.Textarea) Note: I used the unicode-branch. -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

ANN: PyLucid v0.8.0alpha2...

2007-06-22 Thread Jens Diemer
; userpassword: "12345678" download: http://sourceforge.net/project/showfiles.php?group_id=146328&package_id=172512 btw. the test page http://www.pylucid.de used the new alpha Version. (It runs via CGI on apache with SQLite) -- Mfg.

Re: delete obsolete content type entries...

2007-06-19 Thread Jens Diemer
Gabriel Farrell schrieb: > On May 7, 4:32 am, Jens Diemer <[EMAIL PROTECTED]> wrote: >> That surprises me. Does nobody have the same problems? >> Still nobody delete a model class? >> >> How to clean up the django tables? With phpMyAdmin? >> > > I&#x

Re: FastCGI Shared host

2007-06-19 Thread Jens Diemer
range > Content-Type: text/html This is probably the same problem like here: http://code.djangoproject.com/ticket/3414 -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you

Re: change help_text if form_for_model used...

2007-05-25 Thread Jens Diemer
Jens Diemer schrieb: > How can i change the help_text after i have generate the form with > form_for_model() ? I found a solution: -- from django.contrib.auth.models import User UserForm = forms.form_for_model(User,

change help_text if form_for_model used...

2007-05-25 Thread Jens Diemer
How can i change the help_text after i have generate the form with form_for_model() ? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Admin custom widget

2007-05-22 Thread Jens Werner
I found the solution. It is very simple. I need only a directory named 'widget' in my project-template-directory. Thats all! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Announcing: PyLucid CMS v0.8.0alpha1

2007-05-18 Thread Jens Diemer
ouncements permitted/desired here? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Admin custom widget

2007-05-15 Thread Jens Werner
Hi everybody, I'm creating a new widget/template for my admin interface (image_with_thumbnail.html for nesh.thumbnail.field.ImageWithThumbnailField). For the moment it works fine, if I put the image_with_thumbnail.html in django/contrib/admin/templates/widget, but I don't want patch the django-pa

Re: modifying shebang reference in django 0.95.1

2007-05-08 Thread Jens Diemer
Mark Phillips schrieb: > Thank you. I am not familiar with the "init/index" python script. Can > you elaborate? You use fastCGI... So you have a "init" WSGI Handler file? Only the shebang in this file is IMHO important. -- Mfg. Jens Diemer

Re: modifying shebang reference in django 0.95.1

2007-05-08 Thread Jens Diemer
ate/manage.py:1: #!/usr/bin/env python > > My intention is to change the shebang to #!/usr/local/python You must only change the shebang in your "init/index" python script. The Handler file. -- Mfg. Jens Diemer A django powe

Re: delete obsolete content type entries...

2007-05-08 Thread Jens Diemer
there must be exist obsolete contenttypes and permission entries, after you deactivate the test-App. -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: delete obsolete content type entries...

2007-05-07 Thread Jens Diemer
That surprises me. Does nobody have the same problems? Still nobody delete a model class? How to clean up the django tables? With phpMyAdmin? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this

delete obsolete content type entries...

2007-05-04 Thread Jens Diemer
ere a way to update the django tables automatically? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Big Upload

2007-04-12 Thread Jens Diemer
g/vrp1 (search for "upload") -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Playing with fixtures and django serializers -> Errors...

2007-03-28 Thread Jens Diemer
6e3fc693d/a6807b7770b6b165 -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: backup/restore DB data...

2007-03-16 Thread Jens Diemer
file as a backup ;) btw. can you insert a Licence statements into you script? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

backup/restore DB data...

2007-03-16 Thread Jens Diemer
/other way, for DB backups? -- Mfg. Jens Diemer A django powered CMS: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Playing with fixtures and django serializers -> Errors...

2007-03-16 Thread Jens Diemer
lso. I deleted the SQLite file. Thus no data are present. the complete routines are here: http://pylucid.net/trac/browser/branches/0.8%28django%29/PyLucid/install/install.py -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~

django.template.TemplateSyntaxError: Invalid block tag: 'extends'

2007-03-16 Thread Jens Diemer
django.template.loader_tags conclusion: The loader must be import, even if i not use it directly! Is that not somehow stupidly solved? -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this mes

Re: Deployment with Subversion

2007-03-15 Thread Jens Diemer
settings'!" print print "You must rename ./PyLucid/settings-example.py to ./PyLucid/settings.py" print print "You must setup this file for your config!" import sys sys.exit() --

Re: Playing with fixtures and django serializers -> Errors...

2007-03-14 Thread Jens Diemer
at=raw I have some open questions: How am I to store the data? I tried: - file(fixture_filename, "w") - file(fixture_filename, "wb") - codecs.open(fixture_filename, "w", "utf-8") (reading accordingly) All the same which I used, I get

django server: reload and samba share...

2007-03-13 Thread Jens Diemer
My sources are on a linux samba share. I used this share under windows xp and start the django developer server from this share. The reload mechanism don't work! When i copy the source from the share into my local filesystem, the reload works fin. Any solution? -- Mfg. Jens D

Re: Playing with fixtures and django serializers -> Errors...

2007-03-13 Thread Jens Diemer
Jens Diemer schrieb: > I can't trying this. Because now i have a error before the serializers > starts working: """ContentType matching query does not exist.""" On a other platform it works! I don't known why... But if i import the dump i got so

Re: Playing with fixtures and django serializers -> Errors...

2007-03-13 Thread Jens Diemer
ot; with the same error. I think i have a error in my DB data. But i can't isolate it with there error messages :( -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are sub

Playing with fixtures and django serializers -> Errors...

2007-03-12 Thread Jens Diemer
7; ---- In 'data' i missing the keys 'lastupdatetime' and 'createtime'. I find field_name == 'lastupdatetime', but value == 'blabla' also amusing. Because you can see from above:

Bug? Every table needs a id?

2007-03-09 Thread Jens Diemer
- the i make this: from django.core.management import dump_data print dump_data(app_labels=[]) and i get this traceback: Traceback (most recent call last): File "", li

Re: Recursion in templates... again

2007-03-05 Thread Jens Diemer
amm. (The und Tags). I don't want to put this in the programm code. All html thing should be stored in the template. To generate a tree menu without a template is very easy ;) -- Mfg. Jens Diemer CMS in pure Python CGI: htt

Re: Generate a tree List...

2007-03-02 Thread Jens Diemer
Jeremy Dunck schrieb: > If you want recursion in templates, why not just use Jinja? Jinja is super cool. But I would like to keep the PyLucid package small. I thought with django i would choose a full features framework :( -- Mfg. Jens Diemer CMS in pure Python CGI: h

Re: Recursion in templates... again

2007-03-02 Thread Jens Diemer
n/trunk/melt/apps/custard/templatetags/customtags.py But the code is for an older django version. I don't know how to update it... So, if there is no solution, i must use jinja... -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~

Re: Generate a tree List...

2007-03-02 Thread Jens Diemer
Jeremy Dunck schrieb: >> I found this: >> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py >> >> But i don't know how i can use this. Hm :( The code is for an older django version. -- Mfg. Jens Die

Re: Generate a tree List...

2007-03-02 Thread Jens Diemer
Jens Diemer schrieb: > Jeremy Dunck schrieb: >>> I found this: >>> https://svn.greenpeace.org/projects/custard/browser/production/trunk/melt/apps/custard/templatetags/customtags.py >>> >>> But i don't know how i can use this. >> Yeah, I'd

Re: [help] passing a md5 digest string into URL

2007-03-01 Thread Jens Diemer
svn/trunk/urls.py -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-use

Re: Generate a tree List...

2007-03-01 Thread Jens Diemer
;:1, 'children': [ > { 'value': 2, 'children': []}, > {'value' : 3, 'children': [ > { 'value':4, 'children':[] } > ]} > ]} > > {% recurse through children as node starting with x %}

Re: datetime format and client preferred language?!?!

2007-03-01 Thread Jens Diemer
Jens Diemer schrieb: > How can i send a datetime in the client preferred format? Note: i don't > wand to use a template filter to handle this ;) Hm! I can make this: t.strftime(_("%Y-%m-%d - %H:%M")) :) -- Mfg. Jens Diemer CMS in pure Python CGI: h

datetime format and client preferred language?!?!

2007-03-01 Thread Jens Diemer
anguage based on the HTTP_ACCEPT_LANGUAGE string. Why? I think a full feature framework should full handle L10N/I18N. Have I overlooked something? -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because y

Re: Generate a tree List...

2007-03-01 Thread Jens Diemer
missing in the core. It's a very useful function -- Mfg. Jens Diemer CMS in pure Python CGI: http://www.pylucid.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Generate a tree List...

2007-02-27 Thread Jens Diemer
'title': u'SiteMap'}], 'title': u'example pages'}, {'href': u'/Test/', 'title': u'test'}]} template = """ Sitemap {% for item in sitemap %} {{ item.title|escapexml }} {% if item.subitems %} {% recurse item.s

Feedjack - TypeError object does not support item assignment

2006-08-06 Thread Jens Baedeker
uot; in initview 33. request.META['QUERY_STRING']) File "/usr/local/lib/python2.4/site-packages/Feedjack-0.9.7-py2.4.egg/ feedjack/fjlib.py" in getcurrentsite 136. hostdict[url] = ret.id TypeError at /feed/rss/ object does not support item assignment -- s