Translating field titles of newforms

2008-02-15 Thread Vladimir Pouzanov
Is it possible to somehow make use of i18n with {{ field.label_tag }} of the newforms form fields? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Per-domain ROOT_URLCONF and TEMPLATE_DIRS

2007-07-01 Thread Vladimir Pouzanov
On 7/2/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > What is the initial memory size of the process when it is first > started? In other words, does it start out this large or grow over > time? > > Have you identified whether it is requests against specific URLs > within your application

Re: Per-domain ROOT_URLCONF and TEMPLATE_DIRS

2007-07-01 Thread Vladimir Pouzanov
$ grep Vm /proc/9453/status VmPeak:54556 kB VmSize:54552 kB VmLck: 0 kB VmHWM: 9804 kB VmRSS: 9804 kB VmData:48160 kB VmStk: 128 kB VmExe: 4 kB VmLib: 5528 kB VmPTE:60 kB settings.DEBUG = False settings.TEMPLATE_DEBUG = False On 7/1/07,

Re: Developing in windows

2007-06-30 Thread Vladimir Pouzanov
On 6/30/07, Jim <[EMAIL PROTECTED]> wrote: > I know, it's not really a good idea, but my linux machine is not > available right now. I can get to create a project by adding c: > \python25\lib\site-packages\django-0.96 to PATH, but I'm getting > "ImportError: No module named

Per-domain ROOT_URLCONF and TEMPLATE_DIRS

2007-06-30 Thread Vladimir Pouzanov
Hi all, I have two sites that run nearly identical django instances. I wonder if it's possible to somehow set per-domain ROOT_URLCONF and TEMPLATE_DIRS to serve both sites from one django process. -- Sincerely, Vladimir "Farcaller" Pouzanov http://hackndev.com

Several django site in one fastcgi process?

2007-06-26 Thread Vladimir Pouzanov
Hi all, I'm running several django sites on lighttpd server. Sites are simple and I don't like the idea of spawning so much python processes that eat my precious memory. Is it possible somehow to run several sites in one fcgi server? -- Sincerely, Vladimir "Farcaller" Pouzanov

Generating docs in the djangoproject.com/documentation style

2006-11-27 Thread Vladimir Pouzanov
Hi all, Is it possible to get script that generates docs on http://djangoproject.com/documentation? I've tried to use rst2html, but the resulting html looks ugly even if I apply django website CSS to it. I'm mostly interested in the right navigation menu ;) The website docs are very nice, but

Re: So I made a forum with Django

2006-11-16 Thread Vladimir Pouzanov
On 11/3/06, argh44z <[EMAIL PROTECTED]> wrote: > > Here: http://huzzah.cc/ > > I'm thinking about cleaning up the code and open-sourcing it. Is anyone > interested? I ask this because 3 weeks ago when I started working on > it, I didn't really see much forum software written with Django that >

Re: Wanted: Screencast showing how to setup a real-world Django site at WebFaction

2006-06-28 Thread Vladimir Pouzanov
On 6/28/06, Remi <[EMAIL PROTECTED]> wrote: > A few days ago we released the screencast of our control panel > (http://blog.webfaction.com/control-panel-demo) which showed, amongst > other things, how to setup a default Django site in a few clicks. I hope the new screencast will be in some format

Mark user as 'already voted' in polls app

2006-06-25 Thread Vladimir Pouzanov
Hello all, I'm trying to extend polls app from tutorial and add a 'user already voted' check. Can somebody suggest me a way to do that? My current idea is to add some BLOB filed to polls model and add each voted user id to list that will be pickled into that field. For anonymous users a cookie

Re: Django memory leak -- or caching?

2006-06-16 Thread Vladimir Pouzanov
On 6/17/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > I've been writing some code that populates our mysql db's through > > django. I have about 55 MB of pickled data (translating to about 80k > > new table entries and 78k new users). > > > > The problem is that python keeps allocating

Re: Ajax support, there is no need for reinventing the wheel

2006-06-04 Thread Vladimir Pouzanov
On 6/4/06, Ian Holsman <[EMAIL PROTECTED]> wrote: > I'd like django to pick a ajax toolkit and use it. (i don't care > which one it chooses) What do you think about this: http://tinyurl.com/eeejh -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com

Re: Ajax support, there is no need for reinventing the wheel

2006-06-03 Thread Vladimir Pouzanov
On 6/3/06, James Bennett <[EMAIL PROTECTED]> wrote: > Dojo allows either synchronous or asynchronous calls to a server, > depending on the parameters passed to dojo.io.bind(). If you're seeing > something blocking until a server call completes, most likely it's > using a synchronous call. I

Re: Ajax support, there is no need for reinventing the wheel

2006-06-03 Thread Vladimir Pouzanov
On 6/3/06, Bjørn Stabell <[EMAIL PROTECTED]> wrote: > Ajax, in the form of Dojo, was slated to be added to the admin > interface, and it totally makes sense there in order to provide a > better user interface as compared to standard HTML widgets. I don't know if you have same problems, but it

Re: Django svn over https?

2006-05-28 Thread Vladimir Pouzanov
On 5/28/06, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > Setting up a proxy with SSH is outlined here: > > http://subversion.tigris.org/faq.html#proxy Thanks, fixed my squid installation ;) -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com

Re: Django svn over https?

2006-05-28 Thread Vladimir Pouzanov
On 5/28/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: > SVN checkouts behind firewalls are usually solved by talking to > administrators and using proper HTTP proxies. Any hints how to fix squid so it handle that DAV stuff correctly? -- Sincerely, Vladimir "Farcaller" Pouzanov

Django AJAX Framework

2006-05-25 Thread Vladimir Pouzanov
I've started this as SoC project, however is hasn't passed so I'm publising the sources, maybe you'll find them useful. I've uses Json as the transport layer. You will need Json-py library (http://sourceforge.net/projects/json-py/). To make server-side code you need to make a new django view:

Re: Django without database

2006-05-12 Thread Vladimir Pouzanov
You can use sqlite, fast and easy db interface. On 5/12/06, Anja <[EMAIL PROTECTED]> wrote: > > Hi, > we are thinking about creating a small application with Django and > deliver it to our customers. > We would like to use Django without a database. > Reason: > 1) Installation without database

Re: 'module' object has no attribute 'urlpatterns'

2006-05-10 Thread Vladimir Pouzanov
Here's my urls.py: from django.conf.urls.defaults import * urlpatterns = patterns('', # Admin (r'^admin/', include('django.contrib.admin.urls')), # News (r'^news/', include('cmh.apps.news.urls')), ... apps/news/urls.py: from django.conf.urls.defaults import * urlpatterns =

Re: 'module' object has no attribute 'urlpatterns'

2006-05-10 Thread Vladimir Pouzanov
epigrassWeb/databaseImport.py should contain: urlpatterns = ( ... module-specific URLs ... ) On 5/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > hi, > > I am just starting up with django and got stuck in this error when I > try to access my app url. the admin url works fine. > > here is

Re: Which is better: dreamhost or bluehost?

2006-05-10 Thread Vladimir Pouzanov
Personally I prefer DreamHost because of svn and jabber (very useful stuff for me). On 5/10/06, panta <[EMAIL PROTECTED]> wrote: > > Hi all, > I'm going to setup a (small) site using django and I need to decide on > a basic hosting plan. > I'm considering both dreamhost and bluehost and I can't

Re: Django svn over https?

2006-05-09 Thread Vladimir Pouzanov
+1 On 5/9/06, Pradeep Kishore Gowda <[EMAIL PROTECTED]> wrote: > +1 for HTTPS access. -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Erro on access svn repository

2006-05-06 Thread Vladimir Pouzanov
On 5/6/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote: > You are probably behind a (transparent?) proxy that does not support HTTP > REPORT required by svn. I had the same problem, so just wondering, is there any *nix proxy server that supports HTTP REPORT? -- Sincerely, Vladimir "Farcaller"

Re: flash integration

2006-05-03 Thread Vladimir Pouzanov
On 5/3/06, conspirisi <[EMAIL PROTECTED]> wrote: > Can Django be integrated with Flash? Is it a good idea? How Difficult > is it? As easy as flash+php. python and php are both server technologies, flash is client one. -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com

Re: ANN: magic-removal branch merged to trunk

2006-05-02 Thread Vladimir Pouzanov
Hehe, I've read about M-R branch yestarday and now it's trunk... Thanks for RemovingTheMagic doc ;) On 5/2/06, CoolGoose <[EMAIL PROTECTED]> wrote: > > Great i'm waiting for the new docs :) > > > > > -- Sincerely, Vladimir "Farcaller" Pouzanov http://www.hackndev.com