Announcing django-modeltranslation-0.5

2013-02-10 Thread Dirk Eschler
-modeltranslation Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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 djang

Announcing django-modeltranslation-0.3

2011-06-03 Thread Dirk Eschler
-modeltranslation/ Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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 g

UnicodeDecodeError with makemessages in django-1.3

2011-03-30 Thread Dirk Eschler
7, in templatize return _trans.templatize(src, origin) File "/path/to//django/utils/translation/trans_real.py", line 450, in templatize content = u''.join(comment) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 284: ordinal not in range(128) Best Re

Wrong datetime format with datepicker in admin

2011-02-28 Thread Dirk Eschler
jango-1.1 and arised after the upgrade to django-1.2. Is there any other setting or configuration i have missed? Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: MySQL behavior about Warning/Exception

2011-01-25 Thread Dirk Eschler
he behaviour depends on the "non-strict" setting of the MySQL server. If i remember correctly in non-strict mode an error will be raised. You should compare the server configs of both machines. Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- You received this messag

UnicodeDecodeError after upgrade to django-1.2.2

2010-09-09 Thread Dirk Eschler
position 275: ordinal not in range(128) -- Dirk Eschler <esch...@gmail.com> -- 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 unsubscribe from this group,

Re: Very slow page load in production with mod_wsgi

2010-09-03 Thread Dirk Eschler
Am Freitag 03 September 2010, 12:05:47 schrieb Graham Dumpleton: > On Sep 3, 7:45 pm, Dirk Eschler <esch...@gmail.com> wrote: > > Hello, > > > > i experience slow page loads in production using mod_wsgi. The django > > debugging toolbar reveals a very hi

Very slow page load in production with mod_wsgi

2010-09-03 Thread Dirk Eschler
either. Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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 unsubscribe from this group, send

Announcing django-modeltranslation-0.2

2010-06-15 Thread Dirk Eschler
. Source download: http://django-modeltranslation.googlecode.com/files/django- modeltranslation-0.2.tar.gz For a full changelog, downloads and docs, please visit the project page: http://code.google.com/p/django-modeltranslation/ Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.

Re: Fetch DoesNotExist from get_object_for_this_type

2010-05-28 Thread Dirk Eschler
Am Freitag 28 Mai 2010, 14:43:21 schrieb Daniel Roseman: > On May 28, 1:33 pm, Dirk Eschler <esch...@gmail.com> wrote: > > how to fetch the DoesNotExist exception generated by > > get_object_for_this_type? Being generic i can't use the actual model. [...] > The DoesNotE

Fetch DoesNotExist from get_object_for_this_type

2010-05-28 Thread Dirk Eschler
Http404 Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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 unsubscribe from this group, send email

Re: disabling dashboard 'recent actions'

2010-05-26 Thread Dirk Eschler
ve. Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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 unsubscribe from this group, send email

Permissions of abstract model not added on syncdb

2010-05-26 Thread Dirk Eschler
= True permissions = ( ("can_do_foo", _(u"Can do foo")), ) Is this a bug or am i missing something? I'm using django-1.2.1. Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- You received this message because you are subsc

Re: Reorder fields in tabular admin inline

2010-05-21 Thread Dirk Eschler
= ['field3', 'field2', 'field1'] class BarInline(generic.GenericTabularInline): model = Bar form = BarInlineForm Best Regards, Dirk Eschler Am Freitag 21 Mai 2010, 10:57:27 schrieb Danfi: > use filedsets can dispaly them in that way , but it looks differently > > from django.contr

Reorder fields in tabular admin inline

2010-05-20 Thread Dirk Eschler
swap the definition order to achieve this. Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> -- 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

Re: Tests fail with django-1.2-rc1

2010-05-11 Thread Dirk Eschler
Am Dienstag 11 Mai 2010, 16:38:40 schrieb Russell Keith-Magee: > On Tue, May 11, 2010 at 10:21 PM, Dirk Eschler <esch...@gmail.com> wrote: > > Hello, > > > > i'm in the process of upgrading a project to django-1.2-rc1. While the > > project specific tests passed

Tests fail with django-1.2-rc1

2010-05-11 Thread Dirk Eschler
in create return self.get_query_set().create(**kwargs) File "/path/to/myproject/site-packages/django/db/models/query.py", line 352, in create obj.save(force_insert=True, using=self.db) TypeError: save() got an unexpected keyword argument 'using' Best Regards, Dirk Eschler -- Dirk Eschle

No required field indication in TabularInline

2010-03-17 Thread Dirk Eschler
. Is this just a missing feature or am i missing something? Best Regards, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> http://www.krusader.org -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

Custom set_password_form in password_reset_confirm

2009-08-07 Thread Dirk Eschler
, Dirk Eschler -- Dirk Eschler <esch...@gmail.com> --~--~-~--~~~---~--~~ 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

Re: foreign key id as part of models.FileField(upload_to=...)

2009-03-14 Thread Dirk Eschler
Am Samstag 14 März 2009 22:29:16 schrieb Dirk Eschler: > def get_img_storage_path(instance, filename): > return '%salbums/images/%s/' % (settings.MEDIA_ROOT, instance.album.pk) Forgot the filename in my example... def get_img_storage_path(instance, filename): return '%salbums/ima

Re: foreign key id as part of models.FileField(upload_to=...)

2009-03-14 Thread Dirk Eschler
(settings.MEDIA_ROOT, instance.album.pk) class Photo(models.Model): img = models.FileField(upload_to=get_img_storage_path, blank=True) Also see: http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.FileField.upload_to Best Regards, Dirk Eschler -- Dirk

Re: Custom save for excluded inline fields

2009-03-14 Thread Dirk Eschler
Am Samstag 14 März 2009 12:44:11 schrieb Dirk Eschler: > myproject.news.models: > == > class Post(models.Model): > date = models.DateTimeField(default=datetime.now()) > release = models.ForeignKey(Release, null=True, blank=True) > > mypro

Custom save for excluded inline fields

2009-03-14 Thread Dirk Eschler
to achieve is to exclude Post.date from the inline form (works), but then again set it to value that has been entered for Release.date when the Release is saved. Can this be handled in PostInline? Is exclude suited for this case at all? Best Regards, Dirk Eschler -- Dirk Eschler <dirk.esch...@gmx.

Re: Authenticate Trac against Django users.

2007-12-20 Thread Dirk Eschler
rac-users as > there may be interest in each group. I'll try to copy both lists with > responses to any questions. Hello Waylan, please throw it up! :) I've been looking for something like that for quite some time. Best Regards, Dirk Eschler -

Re: Error when I use datetime.now()

2007-10-20 Thread Dirk Eschler
he following error: > > TypeError at /admin/plush/order/1/ > cannot concatenate 'str' and 'datetime.datetime' objects > > Any Suggestions? Hi Greg, you can also concatenate the strings like that: self.comments = "%s abc %s abc" % (self.comments, datetime.now()) It does a typecast on th

Re: UnicodeError in admin in latest django

2007-10-12 Thread Dirk Eschler
thons default encoding to utf-8. $ cat /usr/lib/python2.4/sitecustomize.py import sys sys.setdefaultencoding("utf-8") Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this

Re: Unexpected date translation

2007-10-03 Thread Dirk Eschler
On Mittwoch, 3. Oktober 2007, Malcolm Tredinnick wrote: > On Wed, 2007-10-03 at 15:37 +0200, Dirk Eschler wrote: > > Hi, > > > > i'm using a date based generic on a multi-language website. When the > > online language is set to German, {{ date|date:"M"|l

Unexpected date translation

2007-10-03 Thread Dirk Eschler
turned of somehow in this case? Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: PATH_INFO missing first part

2007-04-05 Thread Dirk Eschler
ad a very similiar problem once. It turned that i had a "DocumentRoot" defined in my vhost config and that caused weird PATH_INFO problems. Django doesn't care about the DocumentRoot (IMHO), so i just removed it, but it took me quite a while to figure that out. I can't see anything

Re: Please Remove My Email Address From Django Users

2007-03-09 Thread Dirk Eschler
Whoops, the quote was stripped. Here it is: To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusad

Re: Please Remove My Email Address From Django Users

2007-03-09 Thread Dirk Eschler
On Freitag, 9. März 2007, John A. Miller wrote: Hi John, [...] > Please, remove my id and address from the Django users > group. [...] you can do this yourself: > -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~-

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-03 Thread Dirk Eschler
e Django filebrowser. Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: Free comments not displayed

2007-03-03 Thread Dirk Eschler
On Samstag, 3. März 2007, Kenneth Gonsalves wrote: > On 03-Mar-07, at 5:04 PM, Dirk Eschler wrote: > > Any ideas what's going wrong? Could that be a permission problem > > (although i'm > > superuser in the admin)? > > looks like a typo somewhere The only changes i

Re: Free comments not displayed

2007-03-03 Thread Dirk Eschler
On Samstag, 3. März 2007, Kai Kuehne wrote: > Hi, > > On 3/3/07, Dirk Eschler <[EMAIL PROTECTED]> wrote: > > Hi Kai, > > > > the problem is, that i don't see any entries in admin interface. It says > > "2 free comments", which is the amount

Free comments not displayed

2007-03-03 Thread Dirk Eschler
is empty. Any ideas what's going wrong? Could that be a permission problem (although i'm superuser in the admin)? Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because yo

Re: Django Filebrowser and more than one TinyMCE instance

2007-03-02 Thread Dirk Eschler
hich also contains the Filebrowser callback i'm using. Please let me know if you need more information. Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Django Filebrowser and more than one TinyMCE instance

2007-03-02 Thread Dirk Eschler
in the TinyMCE popup, but after hitting update to apply the link and close the popup, it is rendered into #mce_temp_url#. Is there any way around this problem? Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusad

Clean permission table

2007-03-02 Thread Dirk Eschler
Hi, during development apps are sometimes removed or renamed. What's a good way to clean the leftovers from the permissions table without breaking something? Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusad

Re: Upcoming Django release, and the future

2007-02-27 Thread Dirk Eschler
orst case (if you choose the wrong one) become a security problem as well. Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Use an application inside other application

2007-02-25 Thread Dirk Eschler
as part of your menu app and include it in the template like this: {% load menu %} {% menu %} http://www.djangoproject.com/documentation/templates_python/#writing-custom-template-tags Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~

Re: unicode in filters

2007-02-19 Thread Dirk Eschler
you can try to add this as first line in your file: # -*- coding: utf-8 -*- Best Regards. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Reuse inclusion template tag in admin textarea?

2007-02-17 Thread Dirk Eschler
o a admin textarea: Here's my cool movie: {% flv "foo.flv" 320 160 %} ... And in the model's save() method the template tag is replaced with the appropriate piece of html (from gallery/flv.html), which is then saved in the db. Can this be done, or should i better parse the content mysel

Image upload - self.image not defined in save method

2007-02-13 Thread Dirk Eschler
, self.image) def save(self): super(Screenshot, self).save() if self.image: self.filesize = getsize(self.get_image_path()) img = Image.open(self.get_image_path()) self.width = img.size[0] self.height = img.size[1] -- Best Regards Dirk

Re: Custom SQL - MySQL Dictcursor

2007-02-11 Thread Dirk Eschler
On Freitag, 9. Februar 2007, Dirk Eschler wrote: > Hello, > > is there a way to get a dictcursor from Django when using custom MySQL? > > >from django.db import connection > > cursor = connection.cursor() > cursor.execute("SELECT [...]") > cursor.fetchall(

Re: DB API - dict of emails

2007-02-10 Thread Dirk Eschler
ulting > dictionary. Nice! Thanks alot for posting posting this solution. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: DB API - dict of emails

2007-02-10 Thread Dirk Eschler
On Samstag, 10. Februar 2007, Malcolm Tredinnick wrote: > Hi Dirk, > > On Sat, 2007-02-10 at 12:02 +0100, Dirk Eschler wrote: > > Hello, > > > > i'm trying to get a dict of emails with usernames as keys. > > > > User.objects.filter(username__in=['foo'

DB API - dict of emails

2007-02-10 Thread Dirk Eschler
]'}] Is it possible to get a dict like this with Django's db api?: {'foo':'[EMAIL PROTECTED]', 'bar':'[EMAIL PROTECTED]'} Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message becau

Custom SQL - MySQL Dictcursor

2007-02-09 Thread Dirk Eschler
t is built with MySQLdb.cursors.DictCursor(db). Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Change class name in Admin interface

2007-02-07 Thread Dirk Eschler
On Mittwoch, 7. Februar 2007, Dirk Eschler wrote: > Do you already use Django's i18n support? In this case you can mark the > verbose_name and verbose_name_plural strings as translateable. Then > create-messages.py will find it when executed the next time. It's "make-messages.p

Re: Change class name in Admin interface

2007-02-07 Thread Dirk Eschler
el): [...] class Meta: verbose_name = _('Category') verbose_name_plural = _('Categories') # - See http://www.djangoproject.com/documentation/i18n/ for details about Django's i18n support. Best Regards, Dirk Eschler --

Re: Django on SourceForge?

2006-12-22 Thread Dirk Eschler
$PYTHONPATH. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.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@

Django on SourceForge?

2006-12-22 Thread Dirk Eschler
how to use the scripts the wiki page links to - or better - how to use them on SourceForge. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subs

Re: OneToOneField and edit_inline

2006-12-18 Thread Dirk Eschler
do not (yet) work in the > admin (p) Please have a look at djangoproject and search for > generic relations. > > My guess is to sit and wait. I see. Thanks for the pointer to the generic relations. Looking forward to see them in the admin interface. Best Regards, Dirk Eschler --

Re: OneToOneField and edit_inline

2006-12-18 Thread Dirk Eschler
ent, unique=True, edit_inline=models.TABULAR, num_in_admin=1, core=True, related_name='news_content') def __str__(self): return "%s - %s" % (self.content.title, self.date) # -----

OneToOneField and edit_inline

2006-12-14 Thread Dirk Eschler
try to add a project through the admin interface, i don't get the Content fields inlined, but only a empty input dropdown. Am i missing something obvious? I'm using Django-0.95. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusad

Documentation - supported parameter lists

2006-12-13 Thread Dirk Eschler
age of the fox (in years) """ Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: View on Site link from Admin

2006-11-28 Thread Dirk Eschler
g! > > Thanks! You have to activate the sites framework, resp. add 'django.contrib.sites' to your INSTALLED_APPS, and then set your hostname in the admin interface. At least i had to... http://www.djangoproject.com/documentation/sites/ Hope that helps, Dirk -- Dirk Eschler &

Translation hook not working for custom template tag

2006-11-14 Thread Dirk Eschler
man'), ('en', 'English')), 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'de'}, {}, {'perms': , 'messages': [], 'user': }, {}] Tags are loaded at top of the template: {% load i18n i18n_img %} Is this a bug, or am i doing something wrong? Best Regards, Dirk Eschler -- Dirk Eschler

Re: Store uploaded image by id

2006-11-08 Thread Dirk Eschler
ds anywhere, you'll have to > import in your code. > > Best regards. > Enrico Hi Enrico, thanks for sharing the code. Import sounds reasonable, i guess too much automation easily gets counterproductive. -- Dirk Eschler <mailto:[EM

Re: Is there any way to render rtf (rich text format) documents with Django?

2006-11-02 Thread Dirk Eschler
ce: http://code.djangoproject.com/wiki/AddWYSIWYGEditor http://www.dehora.net/journal/2006/05/using_tinymce_in_djangos_admin.html -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you

Re: captcha problem

2006-10-31 Thread Dirk Eschler
Am Dienstag, 31. Oktober 2006 15:20 schrieb Dirk Eschler: > In this case i would expect a TemplateSyntaxError. Since you don't get one, > i suppose it is loaded. > > I tried to reproduce your error: i get empty captcha_* values when my > captcha/urls.py is wrong. Judging from th

Re: captcha problem

2006-10-31 Thread Dirk Eschler
ror. Since you don't get one, i suppose it is loaded. I tried to reproduce your error: i get empty captcha_* values when my captcha/urls.py is wrong. Judging from the code you have posted, i think it should look like: urlpatterns = patterns('anastas.apps.captcha.views', (r'^i/$', 'image'

Re: Store uploaded image by id

2006-10-26 Thread Dirk Eschler
Am Mittwoch, 25. Oktober 2006 03:20 schrieb Malcolm Tredinnick: > On Tue, 2006-10-24 at 19:10 +0200, Dirk Eschler wrote: > > Hi, > > > > i'm trying to store an uploaded image in a directory named after its id. > > Like in this simplified example: > > > > cla

Store uploaded image by id

2006-10-24 Thread Dirk Eschler
Hi, i'm trying to store an uploaded image in a directory named after its id. Like in this simplified example: class Project(models.Model): image = models.ImageField(upload_to='upload/projects/'+self.id) Since self isn't defined, how can i access the id? Best Regards, Dirk Eschler

Re: Syntax highlighter

2006-10-21 Thread Dirk Eschler
Am Samstag, 21. Oktober 2006 16:31 schrieb James Bennett: > On 10/21/06, Dirk Eschler <[EMAIL PROTECTED]> wrote: > > does anyone use a generic syntax highlighter with Django? I want to > > integrate something like GeSHi [1] in a blog-like application and i try > >

Re: Syntax highlighter

2006-10-21 Thread Dirk Eschler
Am Samstag, 21. Oktober 2006 15:13 schrieb Antonio Cavedoni: > On 21 Oct 2006, at 12:04, Dirk Eschler wrote: > > Hello, does anyone use a generic syntax highlighter with Django? I > > want to integrate something like GeSHi [1] in a blog-like > > application and i try to fi

Re: Syntax highlighter

2006-10-21 Thread Dirk Eschler
Am Samstag, 21. Oktober 2006 12:47 schrieb Malcolm Tredinnick: > On Sat, 2006-10-21 at 12:04 +0200, Dirk Eschler wrote: > > Hello, > > > > does anyone use a generic syntax highlighter with Django? I want to > > integrate something like GeSHi [1] in a blog-like applic

Syntax highlighter

2006-10-21 Thread Dirk Eschler
Hello, does anyone use a generic syntax highlighter with Django? I want to integrate something like GeSHi [1] in a blog-like application and i try to find out where to start. 1. http://qbnz.com/highlighter/ -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusad

Re: print_r

2006-10-16 Thread Dirk Eschler
yntax error in my model, about all i get is a 404 and a note that the app/model wasn't found. Not very helpful to track down the source of the error. ;) -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this

Re: Extending the user model

2006-10-13 Thread Dirk Eschler
= Academic title: [] First name: [] Last name: [] E-mail address: [] Or in case this is impossible, i would like to put the "User profile" fieldset below the "Personal info" fieldset. -- Dirk Eschler <mailto:[EM

Re: Extending the user model

2006-10-13 Thread Dirk Eschler
Am Freitag, 13. Oktober 2006 13:58 schrieb Malcolm Tredinnick: > On Fri, 2006-10-13 at 13:20 +0200, Dirk Eschler wrote: > > Hello, > > > > is the method described at the below link still the recommended one? > > http://www.b-list.org/weblog/2006/06/06/django-tips-e

Extending the user model

2006-10-13 Thread Dirk Eschler
Hello, is the method described at the below link still the recommended one? http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You re

Re: Count clicks

2006-10-10 Thread Dirk Eschler
t into the view. In this case the FAQ helped to understand. :) http://www.djangoproject.com/documentation/faq/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names -- Dirk Eschler <m

Translation not loaded

2006-10-08 Thread Dirk Eschler
ontext_instance=RequestContext(request) ) --- Anything that i have missed? Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message beca

Re: Ajax

2006-10-08 Thread Dirk Eschler
robably something stupid, I am doing here ?. I'm very new to > Django and still trying to find my way around. Ok, these are two different things. The path might be correct, but if the webserver doesn't serve the file, nothing will happen. -- Dirk Eschler <m

Re: Ajax

2006-10-07 Thread Dirk Eschler
Ok you've surely checked, but i have to ask anyway. :) Are the files really readable, e.g. does http://www.yoursite.com/media/js/textareas.js show up in your browser? Oh and which browser do you use? Konqueror (and probably Safari too) don't work with tinyMCE. -- Dirk Eschler

Re: Count clicks

2006-10-07 Thread Dirk Eschler
pointer to part 4 of the tutorial. I had to re-read it and think i got it now. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Count clicks

2006-10-07 Thread Dirk Eschler
count". What would be a good way to increment the post with post_id=1 when someone accesses "http://www.mysite.com/news/1;? Resp. where do i put my code? Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> ht

Re: Ajax

2006-10-07 Thread Dirk Eschler
actly have you tried to get TinyMCE working? Today i tried the same, followed the below howto and got it working with no hassle. Just make sure to double check the script tags for a wrong path to the js files. http://code.djangoproject.com/wiki/AddWYSIWYGEditor -- Dirk Eschler <

Re: Reload Admin interface after model changes

2006-10-07 Thread Dirk Eschler
ed for me. http://www.djangoproject.com/documentation/modpython/ Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: HTML entities

2006-10-06 Thread Dirk Eschler
Am Donnerstag, 5. Oktober 2006 23:11 schrieb Ivan Sagalaev: > Dirk Eschler wrote: > > In theory i can just use utf-8, but what if one participant in the line > > (os, db, browser, whatever) can't handle it? > > Talking about client side, only very old browsers can't handle

Re: HTML entities

2006-10-06 Thread Dirk Eschler
gt; the value from DEFAULT_CHARSET from settings.py takes > precedence. Aha! Funny you should mention that. I've run into the same problem yesterday (Konq is my main browser). It's one of those things that fuels my confusion about encodings. :) -- Dirk Eschler <mailto:[E

Re: HTML entities

2006-10-05 Thread Dirk Eschler
y one of those long time mysteries to me. I'd happily adopt a practice that's fool proof. Thank you, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are su

HTML entities

2006-10-05 Thread Dirk Eschler
etter way? Sorry if this is obvious, but i can't seem to find a good answer. Best Regards, Dirk Eschler -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: Localizing dynamic content through the admin interface

2006-10-03 Thread Dirk Eschler
Am Dienstag, 3. Oktober 2006 19:32 schrieb Steven Armstrong: > On 10/03/06 19:14, Dirk Eschler wrote: > > Hello, > > > > please let me first point out that i'm new to Django. I have experience > > with gettext, but only in non-webapp environments. > > > >

Localizing dynamic content through the admin interface

2006-10-03 Thread Dirk Eschler
to localize the content they add right in the admin interface. Are there any hooks in Django that make it easier? The simplest way i see, is to use separate columns for each language (e.g. title_en, title_de) in my models. Is there a better approach? Best Regards, Dirk Eschler -- Dirk Eschler