Re: makemessages error. Please help!

2014-02-10 Thread carlos
hi maybe you need configure the setting put path for you locale dirs LOCALE_PATHS = ( os.path.join(SITE_ROOT,'locale'), ) https://docs.djangoproject.com/en/dev/ref/settings/#locale-paths Cheers On Mon, Feb 10, 2014 at 9:44 PM, whitelotus wrote: > > Hi, all, > > To

makemessages error. Please help!

2014-02-10 Thread whitelotus
Hi, all, To create the message file, I did "django-admin.py makemessages -l zh_CN". It popped out the following error which I couldn't find on the web. Could anyone tell me the reason why this happened, please? is the absolute app path which is right. I tried "touch /locale/django.pot", but

Re: Passing ahref link as a variable to a view

2014-02-10 Thread judy wawira
Yes .. Your the best . Thanks so much (saved me another 24 hours of headache and google search On Monday, February 10, 2014 10:04:49 AM UTC-5, François Schiettecatte wrote: > > Judy > > Is this what you are looking for ? > > {{ server }} > > You can then get the server url with

Re: Postgres-XC

2014-02-10 Thread Russell Keith-Magee
On Tue, Feb 11, 2014 at 4:58 AM, Thomas wrote: > Does anyone know if there has been any consideration for getting a > tutorial together to integrate Django with Postgres-XC? Just curious :). > Not that I'm aware of. Django is, by nature, a very conservative project. We tend

Postgres-XC

2014-02-10 Thread Thomas
Does anyone know if there has been any consideration for getting a tutorial together to integrate Django with Postgres-XC? Just curious :). -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Python / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-10 Thread Cal Leeming [Simplicity Media Ltd]
On Mon, Feb 10, 2014 at 9:01 PM, Fred Stluka wrote: > Leigh, > > If it helps, here's a list of questions you might want to answer in > your initial post of each position you are trying to fill: > - Brief description of the company, what it does, what the >work environment

Re: Python / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-10 Thread Fred Stluka
Leigh, If it helps, here's a list of questions you might want to answer in your initial post of each position you are trying to fill: - Brief description of the company, what it does, what the work environment is like, etc? - Brief description of the responsibilities of the position you

Re: Python / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-10 Thread Cal Leeming [Simplicity Media Ltd]
Leigh, As mentioned before, posting jobs is allowed (and welcomed!), but repetitive posts of the same job with little to no specification, isn't really suitable. Can you please avoid this in future, otherwise the list will be abused by recruiters everywhere. Thank you Cal On Mon, Feb 10,

Python / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-10 Thread Leigh Haugen
This contract opportunity is in Michigan (obviously not local), but I was wondering if you might be open to posting it in the Chicago Djangonauts Group. It is a great opportunity on a Cloud Development team for somebody who is willing to take a temporary job here in Michigan. Python / Django

Re: hidden field value inside if block

2014-02-10 Thread Tom Evans
On Mon, Feb 10, 2014 at 2:35 PM, Ionut Oprescu wrote: > is there a way to verify a hidden field value inside a if statement? > > for example: > > > {% if details.id_details == hdnIdDetalii.value %} > code here > {% endif %} > > something like this... > > note! i`m using

Re: Passing ahref link as a variable to a view

2014-02-10 Thread François Schiettecatte
Judy Is this what you are looking for ? {{ server }} You can then get the server url with request.GET.get('server_url') Cheers François On Feb 9, 2014, at 10:59 PM, judy wawira wrote: > i have a django page that loads urls as such > > Please select server

Re: I'm getting obsessed! Where should I put this code?

2014-02-10 Thread Glyn Jackson
Thank you so much for all your comments, they were very helpful. After reading '*a lot*' I think I've found some calm. I decided to move all validation into validation.py. I then used these functions in both forms and the models i.e. mobile = PhoneNumberField(validators=[validate_mobile]) I

hidden field value inside if block

2014-02-10 Thread Ionut Oprescu
is there a way to verify a hidden field value inside a if statement? for example: {% if details.id_details == hdnIdDetalii.value %} code here {% endif %} something like this... *note!* i`m using python with google app engine, details is send from a .py file. the value of the

Re: Django Tables

2014-02-10 Thread Larry Martell
On Mon, Feb 10, 2014 at 8:24 AM, Onur wrote: > Is there any suggestion for open source django tables, I know django_tables2 > and eztables? > > Which one would you like to prefer? or Do you know anyone else? http://tablesorter.com/docs/ -- You received this message

Re: Using SSL and Apache on Windows together

2014-02-10 Thread Michael Manfre
There isn't anything special about setting up Apache with SSL for use with Django. There are plenty of easy to finds tutorials about configuring Apache [1]. I gave a talk about running a Django project on Windows using Apache [2]. I ran in to performance issues due to the GIL and Apache on

Django Tables

2014-02-10 Thread Onur
Is there any suggestion for open source django tables, I know django_tables2 and eztables? Which one would you like to prefer? or Do you know anyone else? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: I'm getting obsessed! Where should I put this code?

2014-02-10 Thread Derek
A common function that can get called from multiple places may be the way to go. For example (please adapt!): #view file # try allocate some stock to product try: instance.stock = get_stock(availability="Available", product=product): instance.stock.allocate() except: pass # do

Re: Translated URL's

2014-02-10 Thread Felipe Mesquita de Oliveira
Michel, Thanks for you reply. My ideia was to make it without the '/es/' or '/en/' starting the url. Let's say a user share an 'es' link to an american user. Like this: '/ayuda/' I wanted the american user to be able to open it using language defined in user's session ('en'). Thanks in