Admin formatting

2008-12-20 Thread MS
application works fine but the admin does not look the same, I suspect it does not make use of the admin css files. I am not familiar with Apache but suspect it is a problem of configuration of the server. Help most welcome MS --~--~-~--~~~---~--~~ You received this

Re: Admin formatting

2008-12-21 Thread MS
Thanks to Graham and Jeff. I moved my code out of the document root and used the proper alias to tell Apache where to find Django's admin.media files. Problem solved ? MS > For mod_wsgi see: > >  http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango >  http://code.goo

Django, multiple domains, multiple locales/languages

2009-07-24 Thread MS
ttached just after SessionMiddleware as suggested in the docs. The problem is that Django has some problems with it - it sometimes shows some strings translated and some not. When I browse just one site/domain everything is OK. But when I open another tab and browse the other domain (

Re: Django, multiple domains, multiple locales/languages

2009-07-24 Thread MS
OK, thanks for suggestion - however it seems the problem was somewhere else - I was using ugettext where ugettext_lazy was supposed to be used (ex. in forms.py). The documentation should be more clear that the choice between ugettext and ugettext_lazy is quite important and may lead to strange pr

Re: Django model problem

2009-04-04 Thread MS
last_album_id which is completely useless. So maybe the question should be - can Django create a OneToOneField without generating a database index for it? Regards, MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Where is dictfetchall ?

2009-04-10 Thread MS
y to write custom SQL queries wich would return dicts instead of tuples? Or just hacking like in the link above? Regards MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: Where is dictfetchall ?

2009-04-10 Thread MS
ecially that it was in the framework already. Strange... Regards MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To un

data too long in a CharField column

2009-05-04 Thread MS
esn't. How can I get rid of that problem? Thanks, MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscrib

Re: data too long in a CharField column

2009-05-04 Thread MS
self, f.name, val[:f.max_length]) oldsave(self, **kwargs) cls.save = newsave To use it, write: autotruncate(MyModel) Any comments are welcome. Regards, MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: data too long in a CharField column

2009-05-05 Thread MS
AIK max_length is required in CharFields. Regarding other replies - I know it's wrong to truncate data but I need it in some background/batch processing, so it's not for forms and user input. Thanks, MS --~--~-~--~~~---~--~~ You received this message because

Django-admin link to master model

2009-05-11 Thread MS
n addition to) the select input. Is that possible, and if so - how to achieve that? Thanks, MS --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: Python Django Training

2020-03-02 Thread MS V
Please add me too On Mon, Mar 2, 2020 at 12:17 PM amanda wrote: > I am interesting learn > > 在 2020年2月1日星期六 UTC+1下午2:42:52,Srikanth K写道: >> >> Hi, >> >> I am from Hyderabad. I am Python Developer by Profession. I am eager take >> up any Python , Django Training (online Preferrable or Weekends).