Re: uuid field short websafe representation

2014-12-08 Thread Radek Svarz
object. I am not sure whether the current implementation allows that. Or at least the documentation is not clear about it. ad >> A non-standard, compressed unique value is not a UUID. Base64 is just different encoding, so value wise you still get the same UUID. Radek On Sunday, Dece

uuid field short websafe representation

2014-12-06 Thread Radek Svarz
x27;] = safe_uuid > CharField.__init__(self, *args, **kwargs) > > def deconstruct(self): > name, path, args, kwargs = super(UUIDField, self).deconstruct() > return name, path, args, kwargs Radek -- You received this message because you are subscribed to

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>

Re: Problem with autoreloading with development server

2005-12-26 Thread Radek Svarz
suggest both: switchable (based on command line parameter) autoreload and forcing COMMAND (CTRL) - R for manual reload Any thoughts? Radek On 12/23/05, PythonistL <[EMAIL PROTECTED]> wrote: > > Hello Eugene, > I use Python 2.3. > (You can email to me directly to my email:

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
to fit the design) popup images (big size) are images, when it is clicked on the info image, so the new window with just the image opens (and closes on another click on the big image) I've realized that this is becoming quite a pattern. Would this correlate with your approach? Radek PS: lo

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&#

Re: MySQL character set problem

2005-11-16 Thread Radek Svarz
not sure if that helps you. We had to rollback and use 4.0.x (with win-1250 and iso-8859-2) because the support of UTF-8 and collation in 4.1 for the czech lang. was not properly done. I'll give 4.1 another try tomorrow and let you know. sorry, no help today. Radek On 11/16/05, Nebojša Đor

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.

Re: Names for Django components

2005-11-14 Thread radek
When you named Django after the great jazz muzician, why don't you name its components similarily? I mean something like: 1. Django guitar 2. Django beats 3. Django singer 4. Django piano That would be much more "cool" for the public. Radek

new admin and translations

2005-11-10 Thread Radek
min strings and make them available in the .po files. Radek

Re[2]: lets merge i18n back into trunk

2005-10-23 Thread Radek
Hi, here's the .po file. Radek 23. øíjna 2005, 23:16:47, napsal jste: > Hi! >>Here is the patch for czech translation. > Please send translation files as full .po files - they aren't that big. > Applying patches sometimes produces problems (like with your patch -

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.