Re: Should I start to use Mako from beginning?

2010-06-30 Thread Alexander Jeliuc
Default template engine is very nice... and more than enough. On Thu, Jul 1, 2010 at 8:22 AM, Kenneth Gonsalves wrote: > On Wednesday 30 June 2010 21:04:25 AllenDang wrote: > > I'm new to django, it's amazing! But after I did some research from > > google, I found out that some people say that t

Re: Paid support for Django?

2010-07-09 Thread Alexander Jeliuc
Try djangopeople On Fri, Jul 9, 2010 at 6:00 PM, Derek wrote: > Not sure if this is the right place to ask, but... how do I go about > finding Django developers that offer support for development of Django > apps. i.e. not do the development themselves, but be available to > provide answers to

Re: Dajax or Jquery

2010-07-12 Thread Alexander Jeliuc
Hello. Django community use jquery in contrib/admin - motives - it is fast growing js framework. I personally use both dojo, jquery and YUI. jQuery is best for general uses but sometimes is slower then dojo and YUI. Finally it depends on you and your needs. dajax is good choice. On Mon, Jul 12, 20

Re: Anyone want to take over maintaining Instant Django?

2010-07-13 Thread Alexander Jeliuc
It is your child. :( On Tue, Jul 13, 2010 at 5:37 PM, cjl wrote: > Djangoholics: > > I no longer have the time or interest to maintain my little project: > > http://www.instantdjango.com > > If anyone would like to take over the project, I would gladly give it > away. Right now it costs a few do

Re: Django GeoIP

2010-07-17 Thread Alexander Jeliuc
Yes. there are dependencies. On Sat, Jul 17, 2010 at 8:58 AM, haibin wrote: > hi, > > I am trying to use GeoIP part of GeoDjango. I importing it by from > django.contrib.gis.utils import GeoIP but getting import error. Do I > have to install someting or do the whole installation process for > Ge

Re: I live in Ukraine. For me it is better to pick up European or US host?

2010-07-29 Thread Alexander Jeliuc
intoVPS.com eu and us location On Thu, Jul 29, 2010 at 2:51 PM, KLRUMPF wrote: > Kostya, maybe have a look at www.ovh.fr, the language tabs are at the > bottom. Lots of *ux flavours, too. > > Been using them for years, cheap and competent, but I don't know how much > they know about django. > >

Re: Django 1.3

2010-08-01 Thread Alexander Jeliuc
It is django-users group. Isn't it? On Sun, Aug 1, 2010 at 5:35 PM, mayikmaster wrote: > hello and thank you for this great project which I have learned so > much. I would like to know what will happen with djanggo 1.3 Where > we've heard.many thanks > > > --- > hola y gracias por este gran pro

Re: Django IDE

2010-08-03 Thread Alexander Jeliuc
gvim, emacs, eclipse, eric On Wed, Aug 4, 2010 at 6:50 AM, Nick Arnett wrote: > > > On Sun, Jul 18, 2010 at 10:19 AM, Biju Varghese wrote: > >> Eclipse is the best IDE for python and django. >> >> > I don't know if it is actually the best, but I'm happy with it. > > Nick > > -- > You received t

Re: Translation

2010-08-10 Thread Alexander Jeliuc
you should include {% load i18n %} tag in every file you use translation On Tue, Aug 10, 2010 at 8:13 PM, kostia wrote: > My base.html has a header: > > {% load i18n %} > > {% get_current_language as LANGUAGE_CODE %} > > > > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > http://www.w3.org/19

Re: how should reusable apps handle url namespace?

2010-06-12 Thread Alexander Jeliuc
independed urls.py file On Sat, Jun 12, 2010 at 10:45 AM, HARRY POTTRER wrote: > On Jun 4, 4:10 am, Daniel Roseman wrote: > > On Jun 4, 5:06 am, HARRY POTTRER wrote: > > > > > I'm writing a forum app that I want to be reusable. All of my urls I > > > have named. Some of them are named like "in

Re: error : python manage.py shell

2010-06-12 Thread Alexander Jeliuc
I think like Kenneth... django is the same python but additional library. No python - no django My recommendation Python Essential Reference 4th edition On Sat, Jun 12, 2010 at 11:01 AM, Kenneth Gonsalves wrote: > On Saturday 12 June 2010 10:39:36 Jagdeep Singh Malhi wrote: > > IndentationError:

Re: I experience problem with special chars like æ øå in filename when using models.ImageField. and models.Fi leField

2010-06-12 Thread Alexander Jeliuc
did you tried so: import sys reload(sys) sys.setdefaultencoding('utf-8') or something similar? On Sun, Jun 13, 2010 at 1:25 AM, MichaleHjulskov wrote: > Hi Bjørn > > I have allready # -*- encoding: utf-8 -*-# in top of my settings.py > and models.py > > Should I put it in all my .py files? > >

Re: ordering fields in admin form

2010-06-13 Thread Alexander Jeliuc
You should do it in admin.py class MyClassAdmin(admin.ModelAdmin): ordering = ['-myfield'] On Sun, Jun 13, 2010 at 6:18 AM, darren wrote: > I'm sure the answer is probably documented clearly somewhere. But, I > can't find it. > > I would like to change the ordering of a field in a form on

Re: My http://localhost/admin/ display

2010-06-13 Thread Alexander Jeliuc
ln -s admin/media to /var/ww On Sun, Jun 13, 2010 at 7:04 PM, Jagdeep Singh Malhi < singh.malh...@gmail.com> wrote: > > > On Jun 13, 12:12 am, Rolando Espinoza La Fuente > wrote: > > On Sat, Jun 12, 2010 at 12:58 PM, Jagdeep Singh Malhi > > > > wrote: > > > Myhttp://localhost/admin/ is display

Re: I experience problem with special chars like æ øå in filename when using models.ImageField. and models.Fi leField

2010-06-13 Thread Alexander Jeliuc
It also depends on your filesystem i think On Mon, Jun 14, 2010 at 1:18 AM, MichaleHjulskov wrote: > Hi Karen, I did not know there was a new release, sorry. > > So if I just install the new release, it will solve the problem just > like that? > Or do I still need to do something, in order to ma

Re: I experience problem with special chars like æ øå in filename when using models.ImageField. and models.Fi leField

2010-06-13 Thread Alexander Jeliuc
reload(sys) etc you can put it in start of your settings.py it will reload python utf-8 support so you will able to use different i had such problem executing spain/portugal project import os, sys reload(sys) sys.setdefaultencoding( "utf-8" ) On Mon, Jun 14, 2010 at 1:24 AM, Alexan

Re: Error when passing arguments to custom __init__ of ModelForm

2010-06-13 Thread Alexander Jeliuc
Read about python version difference in function overloading domain -->ModelForm.__init__(self, *args, **kwargs) # this can be different On Mon, Jun 14, 2010 at 2:06 AM, Jani Rahkola wrote: > Hei, > > I hope someone could shed some light on this one. > I have these in their appropriate file

Re: admin default field widget changing

2010-06-14 Thread Alexander Jeliuc
Thank you. :) On Mon, Jun 14, 2010 at 3:13 PM, stanleyxu2005 wrote: > Take a look at > > ModelAdmin.formfield_overrides > > > > On Jun 14, 1:35 am, Jeliuc Alexandr wrote: > > Hello. > > I want to change default text input widget in admin for CharField to > > text area... > > How can I do it? > >

Re: Localized admin and date field formats

2010-06-14 Thread Alexander Jeliuc
Thank You, I found a patch for that. My version is already 1.2.1 After pathching fields.py and widgets.py it start working fine On Tue, Jun 15, 2010 at 12:49 AM, D3f0 wrote: > Hi > There's been a slighty change in 1.2, take a look at: > http://docs.djangoproject.com/en/dev/ref/settings/#date-in

Re: Multi-db: is database routing per request possible?

2010-06-15 Thread Alexander Jeliuc
I didn't work with multidb but I think it is possible anyway... try it using additional middleware... for example.. change dynamically db settings... etc On Tue, Jun 15, 2010 at 2:12 PM, johan de taeye wrote: > Hello, > > In my application a number of databases are configured with identical > sch

Re: DateField issues

2010-06-16 Thread Alexander Jeliuc
read about autofill_now=True and autofill=True On Thu, Jun 17, 2010 at 8:14 AM, Sheena wrote: > I've defined a number of models, one of which I've called > MemberProfile that looks like this > > class MemberProfile(models.Model): >postal_addr1=models.CharField(max_length=50, verbose_name="po

Re: DateField issues

2010-06-16 Thread Alexander Jeliuc
Date object initialized to something arbitrary. Does > the DateField not get along with standard date objects? What format > should stuff be in for populating DateFields? > > On Jun 17, 7:24 am, Alexander Jeliuc wrote: > > read about autofill_now=True and autofill=True > > &g

Re: DateField issues

2010-06-16 Thread Alexander Jeliuc
value_to_string(self, obj): val = self._get_val_from_obj(obj) if val is None: data = '' else: data = datetime_safe.new_date(val).strftime("%Y-%m-%d") return data def formfield(self, **kwargs): defaults = {'