* Frankie Robertson wrote, On 06.11.2006 12:59:
> On 06/11/06, Gabriel Puliatti <[EMAIL PROTECTED]> wrote:
>> On Mon, 2006-11-06 at 10:07 +, Frankie Robertson wrote:
>>> I think the "class Foo(models.Meta):" in the example is a probably
>>> typo or something. I've used ImageWithThumbnailField
Vizcayno wrote:
> .
>def save(self):
> self.doc_adj = '\\1996\\' + self.doc_adj
> super(MaeDoc, self).save()
>
> Data saves as expected in the Database (i.e. '\1996\{file name}'),
> however, the file was physically created in c:\attach\doc_adj\{file
> name} and not in
[EMAIL PROTECTED] wrote:
> MIDDLEWARE_CLASSES = (
> 'django.middleware.cache.CacheMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.middlew
sorry for cross post.
I just want to bring some attention to this thread
http://groups.google.com/group/Django-I18N/browse_thread/thread/f33c087fc57fb2bc/44aecc7ee75f676f#44aecc7ee75f676f
We currently have great i18n implementation, but not l10n - yes, we have
date-aware template filters/tags b
Kenneth Gonsalves wrote:
>
> On 19-Jul-06, at 9:27 PM, arthur debert wrote:
>
>> You should also take a look at nesh's excellent
>> ImageWIthThumbnailField:
>>
>> http://djangoutils.python-hosting.com/wiki/Thumbnails
>
> my one crib is that he has dropped python2.3.5 compatibility, but
> this
Enrico wrote:
> Hi,
>
> I got it working in the model by using:
> from nesh.thumbnail.field import ImageWithThumbnailField
>
> But I couldn't apply the filter in the template. What is needed to use
> the filters?
>
> Nesh apps are in the "site-packages/nesh" Python Lib folder.
>
> The closer I
Carlos Yoder wrote:
> Hello there,
>
> I'm currently developing my first app on Django, and it happens to be
> in Slovenia, land in which the beautiful Slovenian language is spoken.
>
> In this language, the rules of pluralization go very crazy, as the
> following example (for the word for 'dolp
Enrico wrote:
> Hi,
>
> I'm trying to resize an image automatically after the upload. Maybe
> Django should have this by default, but until there I'll try myself...
>
> I got it working sucessfully, but I don't know if this is the best way,
> the image is processed every time I save the object,
Denis wrote:
> If so, then it (the file) shouldn't be deleted when you delete()
> the object? Also, M/R branch seems has no methods like
> _pre_save/_post_save,
> instead you can subclass save/delete methods. There are some references
> in db.models.signals, dont know how to use them though
You c
http://code.djangoproject.com/
Oops...
Trac detected an internal error:
database is locked
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line
206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/
jrs wrote:
> Then I just exclude settings_env.py from the rsync command that posts
> the site. I also have my database, base_url, cache and any other
> environment specific configuration there. Works like a charm.
I would recommend using subversion or another version control system for this,
i
Chris Moffitt wrote:
> There are certain problems with OsCommerce which are going to be
> non-issues with a Django site:
PHP-style of i18n handling, really a show stopper for me.
Django i18n rocks, but we must add l10n stuff also (money/number formatting,
currency support, etc).
> Is there int
DavidA wrote:
> Is the convention to just use float() or Decimal()
> whenever I need to use it as a number?
I'm not sure what is the final decision, but in my first try in implementing
validate and to_python methods (in MR) I
use Decimal as return type for the FloatField.
OTOH, maybe we can use
Norbert wrote:
> raise wrapped
> TemplateSyntaxError: Caught an exception while rendering.
Try to put TEMPLATE_DEBUG=False in settings.py, maybe that will give you a
better error report.
--
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://studioquattro.biz/
http://djnesh.blogspot.
Rudolph wrote:
> parent = models.ForeignKey('Item', blank = True, null = True,
> related_name = 'child',)
>
> When trying to get the childs of an object by issueing
> item.child_set.all(), it raises an exception:
> 'Item' object has no attribute 'child_set'.
Because you used related_name='ch
Beegee wrote:
> I have build a website in three languages and I want to use caching. I
> have read the documentation thouroughly. I also read the source code
> repository and the django newsgroups.
>
> I am very confused about the order in which to put all the Middleware
> classes.
>
> Does anyb
16 matches
Mail list logo