Re: Helping someone move from Joomla to Django

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

Re: Too many TCP connections

2011-09-03 Thread Baurzhan Ismagulov
> 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 "Django u

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

Re: Still on Internationalisation

2011-07-22 Thread Baurzhan Ismagulov
atch 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 this group, s

apache config (was: Re: your mail)

2011-06-20 Thread Baurzhan Ismagulov
er /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@googlegroups.com. To unsubscr

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

2011-05-16 Thread Baurzhan Ismagulov
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

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

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

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

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

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

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

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/ >

Re: i18n variable string translation

2010-06-16 Thread Baurzhan Ismagulov
alculated). 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 django-us...@googlegroup

Re: Generate thumbnails from videos

2010-06-09 Thread Baurzhan Ismagulov
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
; * 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 outdated data doesn't sound cool to me. Does anyone know > tools/program flag

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, -- Ba

Re: I need help

2010-05-16 Thread Baurzhan Ismagulov
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 group, s

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, -- Baurzhan Ismagulo

Re: Internationalization

2010-05-04 Thread Baurzhan Ismagulov
. 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...@googlegrou

Re: Django app svn management

2010-04-30 Thread Baurzhan Ismagulov
ixes (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 post to this group,

Re: Distributing application

2010-04-29 Thread Baurzhan Ismagulov
ind 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-u

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 received this m

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 http://www.kz-ea

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

2010-03-26 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 django-users+un

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

Re: Django with a tiny linux distribution

2010-03-25 Thread Baurzhan Ismagulov
- 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...@googlegroups.c

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
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 http://www.kz-

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 "Dja

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-easy.com

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

2009-12-22 Thread Baurzhan Ismagulov
e 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" and rather make requests from 10.20.

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 <i...@radix

i18n: date translation in Python

2009-12-20 Thread Baurzhan Ismagulov
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, -- Baurzhan Ismagulov

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
'app-edit' object_id=object.pk %} Thanks for the tip. This results in TemplateSyntaxError with "NoReverseMatch: Reverse for 'rc.'app-edit'' with arguments '()' and keyword arguments '{'object_id': 1}' not found.". What am I doing wrongly? With kind regards, -- Baurzhan Ismagulov http

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

2009-12-15 Thread Baurzhan Ismagulov
low/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 http

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

2009-12-14 Thread Baurzhan Ismagulov
nt 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 that yet. If anyone has code or ideas, I'd like to hear about that, too. With kind regards

variable {% url %} parameter

2009-12-12 Thread Baurzhan Ismagulov
-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 hardcoding it? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com

editable AutoField

2009-12-12 Thread Baurzhan Ismagulov
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 group,

Re: reverse in urlpatterns

2009-12-12 Thread Baurzhan Ismagulov
t_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_save_redirect': reverse('app-list') Exception Type: TypeError at /admin/his/person/add/ With kind regards, -- Baurzh

reverse in urlpatterns

2009-12-10 Thread Baurzhan Ismagulov
t? 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 Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this grou

Re: DJango, threads and serial port

2009-03-31 Thread Baurzhan Ismagulov
e 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 subscribed to t

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 Ismagulov

Re: DJango, threads and serial port

2009-03-26 Thread Baurzhan Ismagulov
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 post to this group, s

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

2008-09-15 Thread Baurzhan Ismagulov
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/ --~--~-~--~~~---~--~~ You

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

2008-09-15 Thread Baurzhan Ismagulov
//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 "Django users"

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

2008-09-15 Thread Baurzhan Ismagulov
conversation. Do you mean this one: http://groups.google.com/group/django-users/browse_thread/thread/a6b075433207b6e7/1446a3da3c816114?lnk=gst=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 to the

Re: sys.path vraag

2008-03-29 Thread Baurzhan Ismagulov
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/lib/os-procinfo.html ? With kind regards, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~~

Re: Managing Django Projects with SVN

2008-03-24 Thread Baurzhan Ismagulov
lcome. 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 Google Groups "Django us

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 http:/

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
" 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/ --~--~-~--~~~---~--~~ Y

Re: problems with i18n

2007-08-12 Thread Baurzhan Ismagulov
> 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 regards, -- B

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
) ... > 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, -- Baurzhan Ismagulov http://www.kz-easy.com/ --~--~-~--~-

Re: Best-practices for form with image

2007-05-27 Thread Baurzhan Ismagulov
ptchas 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 email

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
tion/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 email to

Re: Django Administration

2007-05-13 Thread Baurzhan Ismagulov
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 message

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

2007-05-10 Thread Baurzhan Ismagulov
s/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 Groups "Django us

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

2007-05-01 Thread Baurzhan Ismagulov
efault 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 users&quo

ERROR: invalid input syntax for type boolean: ""

2007-05-01 Thread Baurzhan Ismagulov
431. 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 message because you are subscribed to the Google Groups "Django users" grou

Re: Screen resolution

2007-04-07 Thread Baurzhan Ismagulov
s 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
stack 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 rece

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
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 Goog

Re: installation-wide fixed language

2007-02-26 Thread Baurzhan Ismagulov
ng 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 to this group, s

Re: OT: .pystartup

2007-01-28 Thread Baurzhan Ismagulov
de 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 Ismagulov

OT: .pystartup

2007-01-28 Thread Baurzhan Ismagulov
e? 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@googlegroups.com

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 Ismagulov h

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

2006-12-12 Thread Baurzhan Ismagulov
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 received this message

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
essage 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 django-us

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

2006-12-09 Thread Baurzhan Ismagulov
database (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

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
python. 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 user

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

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, >

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

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

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

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

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

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

can't get LANGUAGES to work in the base template

2006-10-08 Thread Baurzhan Ismagulov
Hello all, I'm using django 0.96 r3709. I have base.html, page1.html, and page2.html templates. The latter two extend the former one. base.html creates a box with all supported LANGUAGES. This works as expected in page1, but not in page2. page1 is a verdjn templatepage (rendered with

Re: Why I'm giving up on Django

2006-09-29 Thread Baurzhan Ismagulov
Hello mamcxyz, On Fri, Sep 29, 2006 at 07:43:49AM -0700, mamcxyz wrote: > - Deployment. I work on Delphi and the idea of put a EXE and all is > working right (tm) is a feeling I lost with python on hosting. So what about writing a small script that will do this for you? Something like tar cC

Re: pre-selecting the current language

2006-08-30 Thread Baurzhan Ismagulov
On Wed, Aug 30, 2006 at 11:31:32AM +0200, Baurzhan Ismagulov wrote: > I'm using the language selection form from > http://www.djangoproject.com/documentation/i18n/ and want to preselect > the current language. How can I do this? Got help from [530] on IRC and the previous posting: {

pre-selecting the current language

2006-08-30 Thread Baurzhan Ismagulov
Hello all, I'm using the language selection form from http://www.djangoproject.com/documentation/i18n/ and want to preselect the current language. How can I do this? With kind regards, Baurzhan. --~--~-~--~~~---~--~~ You received this message because you are

Re: TemplatePages directory

2006-08-28 Thread Baurzhan Ismagulov
On Sun, Aug 27, 2006 at 10:36:29AM +0100, Derek Hoy wrote: > On 8/25/06, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote: > > I add /dir to PYTHONPATH. In this layout, I have to put the html > > templates to /dir/verdjnlib/templatepages/templates/templatepages. How

Re: serving static with mod_python and django

2006-08-26 Thread Baurzhan Ismagulov
Ivan, On Sat, Aug 26, 2006 at 02:26:28PM +0400, Ivan Sagalaev wrote: > Oh I've forgot. It happens because Apache still passes all requests to > mod_python because of SetHandler set in the first rule. In subsequent > locations you have to also reset it with SetHandler None. It worked, thanks

  1   2   >