Re: Helping someone move from Joomla to Django

2011-09-29 Thread Baurzhan Ismagulov
demonstrate the advantages to your friends. If you don't succeed, http://groups.google.com/group/django-users/browse_thread/thread/4981ed32e8b910cd/601e5b97e1c43de8?lnk=gst&q=animuchan#601e5b97e1c43de8 could be an option. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --

Re: Too many TCP connections

2011-09-03 Thread Baurzhan Ismagulov
the DDOS > protection it provides. Does it address the scenario where the whole bandwidth to the firewall is consumed by malicious requests? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "D

Re: on-site deployment

2011-08-22 Thread Baurzhan Ismagulov
On Mon, Aug 22, 2011 at 02:09:23PM -0400, Sam Bull wrote: > Here are some of the questions we've come across: Whew, those are very general questions where there are no right and wrong answers (like "how should we run our business" -- which you should know better), just advantages and disadvantages

Re: Still on Internationalisation

2011-07-22 Thread Baurzhan Ismagulov
ogram or batch file. You need to install xgettext separately and have it in PATH. Look at cygwin or mingw. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

apache config (was: Re: your mail)

2011-06-20 Thread Baurzhan Ismagulov
ebian, I have it under /etc/apache2/sites-available/default. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- 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@googlegro

Re: Can't get Django to work on windows XP - I must be missing something obvious!

2011-05-16 Thread Baurzhan Ismagulov
e.g. under c:\django-1.3, this directory should be in your PYTHONPATH. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- 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

Re: Looking For A Solid Learning Tutorial

2011-04-13 Thread Baurzhan Ismagulov
On Wed, Apr 13, 2011 at 09:19:31AM -0400, Nick Hird wrote: > I am just starting out with Django and would love to find a tutorial that is > great for learning but also teaches the many aspects of the framework. I > have a few books but they seem to go off on one direction or another and > skip the

Re: Project management software

2010-11-30 Thread Baurzhan Ismagulov
On Tue, Nov 30, 2010 at 12:30:55PM -0800, tiemonster wrote: > I finally had a chance to put a demo up online: > > http://freeshell.de/~mscahill/projects/ > > Now obviously this isn't as pretty as it could be. It's meant to be > installed within an existing application. I made a half-hearted effor

Re: [ANN] Django 1.3 alpha 1 released

2010-11-11 Thread Baurzhan Ismagulov
ete? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email

Re: gettext on windows - not up to date documentation on django site

2010-08-22 Thread Baurzhan Ismagulov
On Sun, Aug 22, 2010 at 10:03:33AM -0700, Jonathan wrote: > In > http://docs.djangoproject.com/en/1.1/topics/i18n/localization/#gettext-on-windows > it says "Extract the contents of the bin\ directories in both files to > the same folder on your system". > I downloaded gettext-0.17.tar from the li

Re: To make a basecamp like - project management site

2010-08-15 Thread Baurzhan Ismagulov
On Sun, Aug 15, 2010 at 07:02:58AM -0700, tiemonster wrote: > I'm working on a GPL project management application for Django, and > would welcome contribution. I have a working codebase that is by no > means feature complete. If you're interested in contributing, please > contact me directly and I

Re: form developer

2010-08-13 Thread Baurzhan Ismagulov
On Fri, Aug 13, 2010 at 02:19:11AM -0700, Laurentiu wrote: > I am new to django and i want to ask if i can find a form developer > with drag and drop support for widgets and validations, database > binding fields, etc (like a desktop application). > > i look at some solutions for django like formu

Re: i18n form not working when in site root

2010-08-06 Thread Baurzhan Ismagulov
On Fri, Aug 06, 2010 at 07:26:33AM -0700, Florin wrote: > When I change the language from any site's page it works like it > should, but when I go to the homepage (site's root) the > "django_language" cookie is reset and the language form doesn't work > anymore; it makes the POST request but it doe

Re: LANGUAGES var isn't in all views

2010-07-30 Thread Baurzhan Ismagulov
On Fri, Jul 30, 2010 at 11:14:42AM +0200, Alexandre González wrote: > If I add: > > import settings > LANGUAGES=settings.LANGUAGES > > and return it in the render_to_response it works perfectly, but can I > automatice this in all views? Sure, it works for me without passing LANGUAGES explicitly.

Re: LANGUAGES var isn't in all views

2010-07-30 Thread Baurzhan Ismagulov
On Thu, Jul 29, 2010 at 11:52:31PM +0200, Alexandre González wrote: > 42 {% for lang in LANGUAGES %} ... > It works perfectly in some webs, but in others the var LANGUAGES isn't > provide automatically, do i need to send it in the views? I don't know whether it's relevant, but do you {

Re: Django has incorrect time

2010-07-29 Thread Baurzhan Ismagulov
On Thu, Jul 29, 2010 at 07:33:26AM -0700, Alex wrote: > system time zone is EDT and when running datetime.now( ) from a > *Python* shell I get the correct time. If I run a Django shell > through manage.py it is an hour behind. Works fine here with Django 1.0.2-1+lenny1; which version do you have?

Re: obtaining pid of child process

2010-07-26 Thread Baurzhan Ismagulov
On Sun, Jul 25, 2010 at 08:28:54PM -0700, tazimk wrote: > I want to obtain pid of iostat command or the command executed using > multiprocessing > module > > When I execute : > > d.pid it gives me pid of subshell in which this command is running . One way could be to traverse the list of all pro

Re: Maintain separate i18n translation (.po) for different applications

2010-07-08 Thread Baurzhan Ismagulov
On Thu, Jul 08, 2010 at 10:39:25AM -0700, Behrooz Nobakht wrote: > I am not an expert in Django/Python, so what I have at the moment is > only mysite/locale/xx/django.po for both app1 and app2. But, actually > I need to separately have mysite/app1/locale/xx/app1.po and mysite/ > app2/locale/xx/app2

Re: i18n variable string translation

2010-06-16 Thread Baurzhan Ismagulov
e it could in theory be calculated). What kind of problem are you trying to solve? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Generate thumbnails from videos

2010-06-09 Thread Baurzhan Ismagulov
ware of a python-only solution of comparable simplicity. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroup

Re: Django project as linux package

2010-05-31 Thread Baurzhan Ismagulov
On Mon, May 31, 2010 at 12:36:36AM -0700, Petr Pejcel wrote: > How can I distribute Django project as linux package? For example deb > package. http://www.radix50.net/~ibr/notes/20080323-0-django-autotools-debian.html Questions or feedback welcome. With kind regards, -- Baurzhan Ismagulo

Re: Trouble with translation

2010-05-30 Thread Baurzhan Ismagulov
On Sun, May 30, 2010 at 02:02:10PM -0700, Quenten Griffith wrote: > I created a conf/local in my project root directory Hmm, I'm using locale/ in the project root directory with django 1.0 and it works fine for me. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/

Re: Safe and easy internationalization

2010-05-26 Thread Baurzhan Ismagulov
a > function calls ( _(), tr()... ). I'm not aware of any. > * I have seen nowhere mention of how to remove deprecated/unused > strings from gettext files - only merging translations seems to > interest people. However, having a translation file which slowly fills > itself with outda

Re: Django for desktop application

2010-05-21 Thread Baurzhan Ismagulov
On Wed, May 19, 2010 at 03:51:54PM -0700, Ahmed Salem wrote: > now i found dijango but i ask about can it conected with jython and > perform desktop app Perhaps it could for some definitions of "desktop app", although this wouldn't be my first choice. With kind regards, -

Re: I need help

2010-05-16 Thread Baurzhan Ismagulov
ne is not much effort, take a look at http://docs.djangoproject.com/en/1.1/topics/auth/#topics-auth . With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: LOCALE_PATHS in settings.py required?

2010-05-04 Thread Baurzhan Ismagulov
his location, however, they were found only after I added > LOCALE_PATHS to settings.py. Hmm, this works for me with 1.0 and without LOCALE_PATHS. You do have .mo files, don't you? I'd read Django sources or strace the web server to find out what goes wrong. With kind regards, -- Baurzha

Re: Internationalization

2010-05-04 Thread Baurzhan Ismagulov
aving that. I personally would workaround that by not using "Mrs". With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googl

Re: Django app svn management

2010-04-30 Thread Baurzhan Ismagulov
branched for bugfixes (lives till EOLed), features or refactoring (although I wouldn't do the latter with svn). With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Distributing application

2010-04-29 Thread Baurzhan Ismagulov
ith kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to dja

Re: /i18n/setlang/ broken?

2010-04-08 Thread Baurzhan Ismagulov
On Thu, Apr 08, 2010 at 02:00:03AM -0700, chr wrote: > a) switching languages using /i18n/setlang/ doesn't have any effect > anymore Are you per chance using it with GET? It isn't supported any more. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You recei

Re: custom locale directory

2010-03-29 Thread Baurzhan Ismagulov
On Mon, Mar 29, 2010 at 11:58:17AM -0700, Valentin Golev wrote: > How to tell django about the locale? It does not seem like it will > find the /locale/ folder by itself I'm using the following: LOCALE_PATHS = ('/locale', ) With kind regards, -- Baurzhan Ismagulov h

Re: How to locate the OS user name? [newbie]

2010-03-26 Thread Baurzhan Ismagulov
). With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-use

Re: How to locate the OS user name? [newbie]

2010-03-25 Thread Baurzhan Ismagulov
r name in the database, along with the other > information. What about authenticating those users in your Django app? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: Django with a tiny linux distribution

2010-03-25 Thread Baurzhan Ismagulov
irements -- python libs, DBMS, etc.), but I haven't tried that. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@goog

Re: remote desktop control using Django

2010-02-16 Thread Baurzhan Ismagulov
ll on my old notebook. It even played videos from youtube -- with glitches, but still. If I understand correctly, it has its own API, i.e., displaying the desktop of an existing OS, as OP wants, is still a large batch of work. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --

Re: remote desktop control using Django

2010-02-16 Thread Baurzhan Ismagulov
lient, let me know. Otherwise, your best approximation may be FlashVNC (I haven't tried this): http://www.darronschall.com/weblog/2005/10/announcing-flashvnc.cfm But this will require installation of third-party software on the "clients". With kind regards, -- Baurzhan Ismagulov

Re: how to handle Winsock TCP\IP in Django

2010-02-15 Thread Baurzhan Ismagulov
4f6baf654b/d7bf03f08ae828c3 Regarding "how" -- look for python socket tutorials; there is also twisted, which may or may not suit your needs. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django

DateField input_formats in auto-generated generic view forms

2010-01-30 Thread Baurzhan Ismagulov
Hello, Is it possible to specify DateField input_formats somewhere (e.g., in a model or a global setting) without overriding the generic view (create_update.create_object, create_update.update_object) forms? I'm using 1.0. Thanks in advance, -- Baurzhan Ismagulov http://www.kz-eas

Re: Does Django support sockets of type SOCK_STREAM for full-duplex communication with a client?

2009-12-22 Thread Baurzhan Ismagulov
, your pattern seems to perfectly fit the HTTP request - response model. So you would connect to the server, send a request, then read the data and close the connection, all in the loop. That said, if your client is supposed to process and respond to the data received, I would call it "server&qu

Re: i18n: date translation in Python

2009-12-22 Thread Baurzhan Ismagulov
;l" }} > day is a datetime.date object. > that should give the proper day name according to the locale you set > in settings.py. How can I get this to work for two languages on the same page? With kind regards, Baurzhan. > On Sun, Dec 20, 2009 at 7:53 PM, Baurzhan Ismagulov wrote: &

i18n: date translation in Python

2009-12-20 Thread Baurzhan Ismagulov
ort format day = format(date, arg) This returns the name of the day, albeit in English. How can I set the target language? Is django.utils.dateformat a part of a published API (I couldn't find anything about it in 1.0 docs)? Or are there better ways to do that? Thanks in advance, -- Bau

Re: variable {% url %} parameter

2009-12-15 Thread Baurzhan Ismagulov
On Tue, Dec 15, 2009 at 08:00:54AM -0800, Daniel Roseman wrote: > Should be {% url app-edit object_id=object.pk %} - ie drop the quotes > around app-edit. Yes, this worked. Thanks, Daniel and Bruno! With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this m

Re: variable {% url %} parameter

2009-12-15 Thread Baurzhan Ismagulov
ect_id', so > you do have to use the same scheme withing the url tag, ie: > > {% url 'app-edit' object_id=object.pk %} Thanks for the tip. This results in TemplateSyntaxError with "NoReverseMatch: Reverse for 'rc.'app-edit'' with arguments '()&

Re: Complicated Form "Workflow" - Need ideas/direction

2009-12-15 Thread Baurzhan Ismagulov
ocs/flow/continuations.html > > Worth reading around ideas/concepts. Thanks for the info, an interesting concept. I personally have no problems with representing a web app as a state machine, so continuations are for me too far an abstraction. With kind regards, -- Baurzhan Ismagulov

Re: Complicated Form "Workflow" - Need ideas/direction

2009-12-14 Thread Baurzhan Ismagulov
new Events, continuing in another window at an "unfavorable" moment may result in a mess, although one may always customize that for one's needs. Another hurdle was pickling the form data into the session; I've skimmed through #9200 for that, but couldn't find how it does th

variable {% url %} parameter

2009-12-12 Thread Baurzhan Ismagulov
everseMatch: Reverse for 'rc.'app-edit'' with arguments '(1,)' and keyword arguments '{}' not found." in the value. Is passing a variable from the view the best way to do that? Is there any other method (not necessarily named URLs) of getting a URL without

editable AutoField

2009-12-12 Thread Baurzhan Ismagulov
and use a custom form? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this

Re: reverse in urlpatterns

2009-12-12 Thread Baurzhan Ismagulov
odule.urlpatterns: File "/var/lib/python-support/python2.5/django/core/urlresolvers.py" in _get_urlconf_module 198. self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) File "/home/ibr/w/work/mcs/j/rc/src/rc/urls.py" in 23. 'post_sav

reverse in urlpatterns

2009-12-10 Thread Baurzhan Ismagulov
o return back to the "calling" page (not unlike admin's popup windows, albeit without popups). What is the best way to do that? I'm using Django 1.0. Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/ -- You received this message because you are subscribed to the

Re: DJango, threads and serial port

2009-03-31 Thread Baurzhan Ismagulov
x27;t reveal the problem, further divide the first or the second part depending on the printf result till you find the offending statement. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are

Re: DJango, threads and serial port

2009-03-26 Thread Baurzhan Ismagulov
while, so I have to do it on seperate thread). If the problem is reproducible with one thread, I'd use it for debugging. Although I've never thought about using threads from Django; what will your "main" thread answer to the browser? With kind regards, -- Baurzhan

Re: DJango, threads and serial port

2009-03-26 Thread Baurzhan Ismagulov
nother method to see variable values directly in the browser. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: DJango, threads and serial port

2009-03-26 Thread Baurzhan Ismagulov
able Hmm, sys.path is None? I'd use a debugger to see the difference between the working and not working case. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: Is this group censored, or is the archive just buggy?

2008-09-15 Thread Baurzhan Ismagulov
rch > for my username or "url tag"? I don't know. Perhaps it takes time for messages to get indexed. Just searched for my user name -- this thread doesn't show up, either. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~

Re: Is this group censored, or is the archive just buggy?

2008-09-15 Thread Baurzhan Ismagulov
k?" http://groups.google.com/group/django-users/browse_thread/thread/003369feb0bad2a3# With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

Re: Is this group censored, or is the archive just buggy?

2008-09-15 Thread Baurzhan Ismagulov
the conversation. Do you mean this one: http://groups.google.com/group/django-users/browse_thread/thread/a6b075433207b6e7/1446a3da3c816114?lnk=gst&q=catsclaw#1446a3da3c816114 With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~--

Re: Using i18n to translate to a specific language

2008-06-20 Thread Baurzhan Ismagulov
guage > selection. Any Idea how to archive that result? I'd translate in the view and pass a list to the template. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: sys.path vraag

2008-03-29 Thread Baurzhan Ismagulov
of directories where Windows looks for executables if you don't specify an absolute path name. sys.path is where the Python interpreter looks for the modules to import, see http://docs.python.org/lib/module-sys.html . Are you looking for os.environ['PATH'], http://docs.python.org/li

Re: Managing Django Projects with SVN

2008-03-24 Thread Baurzhan Ismagulov
Comments or questions welcome. If you are interested only in the autoconf part, it would be quite easy to set up. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
;Hello World Home" msgstr "مرحبا العالم - الصفحة الرئيسية" If the .po file contains all messages you want, run compile-messages.py. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
ompile-messages.py? Note that you have to re-run "make-messages.py -a" after modifying any strings (such as adding a trans block to your template). And you do look at the browser window title for {{ output }}, don't you? With kind regards, -- Baurzhan Ismagulov h

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
tput }}" somewhere in . FWIW, you can also use "{% trans "some text" %}" directly in the template, so that you don't have to include messages in views.py. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
mmand, > operable program or batch file. You should have a program named "msgfmt" in your %PATH% for this to work. You can install it using http://cygwin.com/setup.exe, or as described at http://code.djangoproject.net/ticket/1157#comment:5 (but I haven't tried this). With kind

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
section of http://www.djangoproject.com/documentation/i18n/ ? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
('en', 'English'), > ) ... > def my_view(request): > output = _("Hello World Home") > return render_to_response('index.html', {'output': output}) http://groups.google.com/group/django-users/msg/e34ddaadd0223293 Hope this helps, -- Baur

Re: MediaWiki Port in Django - Project Interest?

2007-08-10 Thread Baurzhan Ismagulov
On Fri, Aug 10, 2007 at 03:59:07PM -, [EMAIL PROTECTED] wrote: > Would anyone be interested in using it if it was released as a contrib > app? Yes. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You receive

Re: Offline Django Apps

2007-05-27 Thread Baurzhan Ismagulov
ess logic in a separate place, everything in Python. I didn't have the time to play more with it, so I can't tell how that looks like, but I would be interested to see both using a common ORM and GNUe being able to use Django as a web front-end framework. With kind regards, -- Baurzhan

Re: Best-practices for form with image

2007-05-27 Thread Baurzhan Ismagulov
en captchas with an audio option. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: manage.py setting sys.path wrong

2007-05-17 Thread Baurzhan Ismagulov
:/export/home/ > myusername/cron_code/pike_weblog_code/classes bash-2.05$ PYTHONPATH=/export/home/myusername/django_src python manage.py With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are

Re: Django Administration

2007-05-13 Thread Baurzhan Ismagulov
tation/modpython/ may be helpful for you. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Django Administration

2007-05-13 Thread Baurzhan Ismagulov
sing? Have you configured it for admin? > I put my domain Ip instead od localhost Ip, but it is not work :( Which error messages are you getting? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this messag

TypeError: save_file() got an unexpected keyword argument 'save'

2007-05-10 Thread Baurzhan Ismagulov
d at django/db/models/fields/__init__.py, the method does seem to have the save kwarg. What is the problem? Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: ERROR: invalid input syntax for type boolean: ""

2007-05-01 Thread Baurzhan Ismagulov
o supply default value via default kwarg to the > field This worked, thanks much! With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

ERROR: invalid input syntax for type boolean: ""

2007-05-01 Thread Baurzhan Ismagulov
o does this for me. How should I fix the problem? I'm using Django r4431. Please CC to me, I'm temporarily not receiving mail from the list. Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this messag

Re: Screen resolution

2007-04-07 Thread Baurzhan Ismagulov
handle all this from the user perspective (is it a web page background or a desktop one, whether "resize" means stretch or crop, whether you want to use HTML forms and further HTTP requests, etc.). With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~--

Re: Screen resolution

2007-04-07 Thread Baurzhan Ismagulov
bout letting your Django application generate the data you need to present in a device-independent way and then rendering it to a concrete screen size in a template? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received

Re: debugging/breakpointing

2007-03-09 Thread Baurzhan Ismagulov
ack directly"? With "PythonEnablePdb On", you get the pdb prompt just before the django handler is called. After that you can step, set breakpoints, etc. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You rec

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
wise fall back to the stuff django does now. Then you can use the same django installation for different projects. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
7;tr' in LANGUAGES and set LANGUAGE_CODE to 'tr'. If all mechanisms in django/utils/translation/trans_real.py:get_language_from_request fail, the user should get Turkish. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~--

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
oblem with writing all texts in Turkish and not using the i18n infrastructure at all? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
re you trying to see the translation? Admin, or your application? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: OT: .pystartup

2007-01-28 Thread Baurzhan Ismagulov
provide a patch, > we'll integrate it into Django. If I had known how to do that, I would have provided the patch in the first place ;) . Thanks much for the lightning fast answer, now I feel myself obliged to submit one :) . With kind regards, -- Baurzhan

OT: .pystartup

2007-01-28 Thread Baurzhan Ismagulov
ad the file? Thanks in advance, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ 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@google

ProgrammingError: ERROR: invalid input syntax for integer: ""

2007-01-03 Thread Baurzhan Ismagulov
age, saving results in the error below. Sometimes (when I change something) I get an error message about aborted transaction with similar symptoms (myapp_attr.id being ''), the backtrace mentions Attr.__str__(). I tried django trunk 3709 and 4276. What is wrong? Thanks in advance, -- Baurzhan I

Re: cyrillic text garbled if used as question in polls example

2006-12-12 Thread Baurzhan Ismagulov
о? Aha. So, what is the output of "locale" in the shell you started mysql in? Does mysql inherit it? What is the encoding of the database you are writing to? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You recei

Re: Template extending problem

2006-12-09 Thread Baurzhan Ismagulov
Hello Kai, On Sun, Dec 10, 2006 at 12:23:09AM +0100, Kai Kuehne wrote: > > {% extends "/blog/base" %} > Doesn't work. {% extends "blog/base.html" %} works for me. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~

Re: problem with django settings module

2006-12-09 Thread Baurzhan Ismagulov
ror message from manage.py. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Re: cyrillic text garbled if used as question in polls example

2006-12-09 Thread Baurzhan Ismagulov
atabase (e.g., issue a SELECT in mysql). Then, see if it is displayed correctly. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: problem with django settings module

2006-12-09 Thread Baurzhan Ismagulov
Hello Snirp, On Sat, Dec 09, 2006 at 08:20:02AM -0800, Snirp wrote: > environment variable DJANGO_SETTINGS_MODULE undefined I assume mysite is the project you've created under c:\temp using "django-admin.py startproject mysite". To use the shell, you need to have the following environment variab

Re: DJANGO_SETTINGS_MODULE undefined error

2006-12-08 Thread Baurzhan Ismagulov
om Control Panel -> System -> Advanced? -> Environment. With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: DJANGO_SETTINGS_MODULE undefined error

2006-12-07 Thread Baurzhan Ismagulov
on. I do the following in bash: export DJANGO_SETTINGS_MODULE=myproject.settings With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django and CRM or ERP

2006-11-17 Thread Baurzhan Ismagulov
Hello Picio, On Fri, Nov 17, 2006 at 01:05:24PM +0100, Picio wrote: > Just courious if Is there anyone that have built or will build a CRM > or an ERP using Django? Not quite what you ask, but there should be some apps at http://www.gnuenterprise.org/ , they should have, among others, a web fron

Re: Database design

2006-11-14 Thread Baurzhan Ismagulov
Hello Eric, On Tue, Nov 14, 2006 at 11:37:47AM -0500, Eric Lake wrote: > I think that I am really starting to understand how django works. The area > that I am not very good at is designing the database model. Can you > recommend a good tutorial or book that gets into how create logical, > elegan

Re: Debugging with Winpdb

2006-11-10 Thread Baurzhan Ismagulov
Hello Mike, On Fri, Nov 10, 2006 at 11:30:03AM -, Mike wrote: > Anybody debugging Django apps successfully with Winpdb? pdb worked for me, can't say anything about pdb. With kind regards, Baurzhan. --~--~-~--~~~---~--~~ You received this message because you

Re: django/db/models/base.py:383: Local variable (rel) not used

2006-11-03 Thread Baurzhan Ismagulov
Hello Russell, On Fri, Nov 03, 2006 at 10:26:23AM +0800, Russell Keith-Magee wrote: > Thanks for the report. Apologies for the behaviour of the spam filter; > we've been having some difficulties with it lately. > > Its true - rel isn't used. But neither is the rest of the method. The > _set meth

django/db/models/base.py:383: Local variable (rel) not used

2006-11-02 Thread Baurzhan Ismagulov
Hello, this was reported by pychecker while I was checking my code, seems to be valid. I've submitted this to trac, was rejected by akismet as spam. With kind regards, Baurzhan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: OT: fast selection in drop-down lists

2006-10-23 Thread Baurzhan Ismagulov
Hello SmileyChris, On Mon, Oct 23, 2006 at 12:18:24PM -0700, SmileyChris wrote: > On Oct 24, 7:54 am, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote: > > is there a way to quickly choose an entry in a drop-down list? IIUC, > > this is browser-specific, but perhaps there is

OT: fast selection in drop-down lists

2006-10-23 Thread Baurzhan Ismagulov
Hello all, is there a way to quickly choose an entry in a drop-down list? IIUC, this is browser-specific, but perhaps there is some fancy Javascript doing that? Thanks in advance, Baurzhan. --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
On Sun, Oct 08, 2006 at 06:27:38PM +0400, Ivan Sagalaev wrote: > If I correctly suspect that we speak the same language then I can > recommend my blog post about it: > http://softwaremaniacs.org/blog/2006/01/12/context-processors/ This is great, it describes first the use case rather than the f

Re: can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
Hello Ivan, On Sun, Oct 08, 2006 at 05:54:27PM +0400, Ivan Sagalaev wrote: > All the extra information (such as {{ user }} or {{ LANGUAGES }}) is > passed to templates by a RequestContext that processes a number of > context processors defined in TEMPLATE_CONTEXT_PROCESSORS in settings. > > I

  1   2   >