Re: uuid field short websafe representation

2014-12-08 Thread Radek Svarz
data can be made safe for any specific usage, e.g. >> URLs, but there is no reason to enforce this requirement in all uses of the >> data because not everyone will expose a UUID in a URL. >> >> -1 from me. >> >> Regards, >> Michael Manfre &g

uuid field short websafe representation

2014-12-06 Thread Radek Svarz
Hi, I am glad to see the UUID field coming to 1.8 Bellow is how we do it now in 1.7. The advantages: - it only uses 21 chars (instead of 32) - chars are safe for URLs - uuid is created when default is called I advocate to have the short websafe representation. What do you think? code: >

Re: apps with the same name

2006-01-19 Thread Radek Svarz
What is so strange about "myapp.admin as admin" ?Users of Django are usually familiar with such syntax - SQL uses that, Python import uses that. From the user readibility I prefer it.With: INSTALLED_APPS = (    'foo.bar.baz',    ('foo.baz.baz', 'baz2'),)you will have to deal with several brackets a

Re: Failing silently, and documentation thereof

2006-01-12 Thread Radek Svarz
>> We really need an official Django logging frameworkIf you consider adding logging module into Django, take a look at keyword based logging. http://agiletesting.blogspot.com/2005/06/keyword-based-logging-with-py-library.htmlRadekOn 1/12/06, Simon Willison <[EMAIL PROTECTED]> wrote:On 12 Jan 20

Re: Proposal: Django namespace simplification

2006-01-11 Thread Radek Svarz
Could you follow some uniform way of the pluralization of module names?I mean why there is django.shortcuts.views (plural) and django.form (singular)? I hate those code mistakes when just one s is forgotten. RadekOn 1/11/06, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: On 1/8/06, Adrian Holovaty <[

Re: GUID discussion

2006-01-09 Thread Radek Svarz
> Just a simple cronjob with an SQL statement that blows away outdatedsessions.Any thoughts of putting this into the bin or maintenance subdir of Django distro?Radek On 1/9/06, hugo <[EMAIL PROTECTED]> wrote: >True. The fun thing about the recipe is that it produces keys that are>so unique that the

Re: Problem with autoreloading with development server

2005-12-26 Thread Radek Svarz
I also get sometimes the error Eugene noted. Using Python 2.4.1 on WINXP. When dealing with autoreload, I often found that it would be usefull if the server could be forced to reload on some keystroke (eg. CTRL-R). Then I would not need autoreload at all (I rather know when things change). So I s

pluralization - was Re: Descriptors for fields?

2005-12-12 Thread Radek Svarz
Ie. verbose_name_plural defines the name for code (object instances)? Based on the tutorial I thought it is mostly used for admin presentation texts. Radek On 12/12/05, James Bennett <[EMAIL PROTECTED]> wrote: On 12/12/05, Radek Svarz <[EMAIL PROTECTED]> wrote:> the issue is, how do

Re: Descriptors for fields?

2005-12-12 Thread Radek Svarz
ually say price, but it is tough to show it in English.) would you state: reporter.moneys.add(...) ? RadekOn 12/12/05, James Bennett <[EMAIL PROTECTED]> wrote: On 12/12/05, Radek Svarz <[EMAIL PROTECTED]> wrote:>  so I think it should be either:>  1.>reporter.article.add(...

Re: Descriptors for fields?

2005-12-12 Thread Radek Svarz
id I guess the 1st makes more sence. RadekOn 12/12/05, James Bennett <[EMAIL PROTECTED]> wrote: On 12/12/05, Radek Svarz <[EMAIL PROTECTED]> wrote:> very nice proposal. but please avoid pluralization. it is very odd in other> languages than English. I think pluralization is some

Re: Descriptors for fields?

2005-12-12 Thread Radek Svarz
very nice proposal. but please avoid pluralization. it is very odd in other languages than English. RadekOn 12/12/05, James Bennett <[EMAIL PROTECTED]> wrote: On 12/11/05, Robert Wittams <[EMAIL PROTECTED]> wrote:> Its pretty orthogonal to most of the other suggestions.Yeah, but as proposed lookup

Re: Add automatic thumbnail generation to ImageFields (from ticket #961)

2005-12-01 Thread Radek Svarz
k, etc. that PIL allows) Radek On 12/1/05, Nebojša Đorđević - nesh <[EMAIL PROTECTED]> wrote: > > On 2005-12-01, at 17:52 CET, Radek Svarz wrote: > > > I've realized that this is becoming quite a pattern. Would this > > correlate with your approach? > > Wel

Re: Add automatic thumbnail generation to ImageFields (from ticket #961)

2005-12-01 Thread Radek Svarz
Hi, We have been using xt:Commerce for a while and I realized quite nice approach to organize images. There are several subfolders of media for product images, like follows: product_images/original_images product_images/thumbnail_images product_images/info_images product_images/popup_images wher

Re: Making Django easier to get started

2005-11-21 Thread Radek Svarz
Simon, you named one good metric. I.e. how long is the screencast to create an application pattern (weblog in this case) :) Another Radek On 11/21/05, Simon Willison <[EMAIL PROTECTED]> wrote: > > > On 21 Nov 2005, at 09:45, James Bennett wrote: > > > 2. Django doesn't have one of those nifty "u

Re: MySQL character set problem

2005-11-16 Thread Radek Svarz
đević - nesh <[EMAIL PROTECTED]> wrote: On 16-11-2005, at 13:12, Radek Svarz wrote:> There are diffs between 4.0.x 4.1.x and 5.My local version is MySQL 4.0.23_Debian-3ubuntu2.1-log and TextDriveis using MySQL 4.1.14-log, and probably that is a problem. Any solutions?---Nebojša Đorđevi

Re: MySQL character set problem

2005-11-16 Thread Radek Svarz
What's the MySQL version? There are diffs between 4.0.x 4.1.x and 5. RadekOn 11/16/05, Nebojša Đorđević - nesh <[EMAIL PROTECTED]> wrote: I'm hitting interesting problem with MySQL hosted on TextDrive. Allcharacter encoding is set to utf-8 but I'm still getting a '?' forall accented characters fr

Re: Dajngo wishlist

2005-11-14 Thread Radek Svarz
se than runserver) Is it OK for suggesting? RadekOn 11/14/05, James Bennett <[EMAIL PROTECTED]> wrote: On 11/14/05, Radek Svarz <[EMAIL PROTECTED]> wrote:> I believe that PythonistL did not asked about running it on CGI. He asked to> run it on the shared webhosting. And noted s

Re: Dajngo wishlist

2005-11-14 Thread Radek Svarz
I believe that PythonistL did not asked about running it on CGI. He asked to run it on the shared webhosting. And noted some issues. There is no reason to think about using CGI at all as many of you noted. I believe that there is / will be shared webhosting with mod_python / fastcgi support. (At

Re: Dajngo wishlist

2005-11-14 Thread Radek Svarz
Simon, you are saying that FastCGI serves worse than mod_python? IMHO sharedhosting is quite crucial for better Django adoption. RadekOn 11/14/05, Simon Willison <[EMAIL PROTECTED]> wrote: On 14 Nov 2005, at 16:24, PythonistL wrote:> So, would it be possible to make the installation easier  also

Re: Names for Django components

2005-11-14 Thread Radek Svarz
OK, let me mix it: 1. Django guitar core 2. Django ORM beats 3. Django singing templates 4. Django piano admin You have it novel and self-explanatory, too :) Radek On 11/14/05, Jonathan Daugherty <[EMAIL PROTECTED]> wrote: # 1. Django guitar## 2. Django beats## 3. Django singer## 4. Django pi

Re: i18n -- let's do it!

2005-08-01 Thread Radek Svarz
As a tool for translators I suggest poEdit (http://www.poedit.org/). It is very comfortable editor.

Re: tracking who modified an object

2005-08-01 Thread Radek Svarz
/O=JoesCompany" "CN=Administrator/O=SamsCompany" "CN=Radek Svarz/OU=ADCZ/O=DGRP" The last one added is the one that modified the document latest. Thus we know any person that modified the object and can track it to the past.