Re: uuid field short websafe representation

2014-12-08 Thread Radek Svarz
y 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 >> >> On Sat,

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

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

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, ho

Re: Descriptors for fields?

2005-12-12 Thread Radek Svarz
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
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

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? > > Well, no

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

Re: MySQL character set problem

2005-11-16 Thread Radek Svarz
- 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ć - n

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

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: 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