I don't think so. The question actually had a different point, namely
"When I put a decorator on my model, how do I keep the original name for
the table?" It didn't specify what the decorator does. There is a link to
a doc on proxy models, but it appears that they create multiple tables.
I s
Thats interesting Bill.
Are you talking about something like this?
http://stackoverflow.com/questions/3276700/django-model-subclass-without-changing-database-name
Thanks
Rohit Banga
http://iamrohitbanga.com/
On Sat, Sep 22, 2012 at 8:15 PM, Bill Beal wrote:
> Question for an expert from a newb
you probably are using ugettext and should be using ugettext_lazy
On Sat, Sep 22, 2012 at 8:44 PM, Patrick wrote:
> When I change language on my Django-powered site, everything works fine
> except the translation of the field descriptions in the forms. The
> description is still displayed in the
On 23 September 2012 06:40, Vincent Fulco wrote:
> Missing something basic here even after scouring web and running thru online
> tut a few times.
>
> Started a project 'mysite' and added twitter bootstrap then created a static
> homepage "index.html' to act as a simple launchpad to other more inf
Question for an expert from a newbie: Could you decorate each model that
has data that needs to be separated by departments? If so, you wouldn't
have to remember to code the department filter on each retrieval.
On Friday, September 21, 2012 10:06:35 PM UTC-4, Rohit Banga wrote:
>
> Hi Dennis
>
When I change language on my Django-powered site, everything works fine
except the translation of the field descriptions in the forms. The
description is still displayed in the old language. Only the forms already
visited that session are affected.
It seems like some sort of caching problem,
On Sat, Sep 22, 2012 at 3:18 PM, Nandakumar Chandrasekhar
wrote:
> Thanks Andrew but I have a requirement where I have to programmatically set
> it to an unusable password based on a particular condition.
Andrew's given you the answer - it's just not clear that you've
understood what the answer i
Hi guys, I'm developing a website in three languages: English, Spanish and
Italian.
I let users change language through a select field
{% csrf_token %}
{% for language in LANGUAGES %}
{% if language.0 == LANGUAGE_CODE %}
{{language.1}}
{% else %}
{{language.1}}
{% endif %}
{% endfor %}
For
Django users,
What's the latest on the easiest way to access MySQL from Django
on Mac OS X 10.6.8 (Snow Leopard)?
I've Googled lots of info, but some may be outdated. Seems to be
more complicated than it should be, especially since everything else
to do with Django has been so easy.
Here's wha
Okay Nick so your help really made a big difference. The generic view and
urlconf helped a lot.
Well I didn't figure out how to do Melvyn's recommendation but I was able
to implement this another way. It's good but not perfect.
Here's all the relevant files:
- about models.py
from django.db i
hey Great job that's very good is there any chance you would be sharing the
code?
On Saturday, September 22, 2012 3:44:36 AM UTC-5, Ezequiel wrote:
>
> Hi All,
>
> I'm a programmer and also an amateur photographer. And looking for a
> gallery software for my own photo site is that ended up lear
Thank you ver much for answer.
Yes that could be a solution, however I need relational database :/
On Saturday, September 22, 2012 10:32:25 PM UTC+2, Gabriel [SGT] wrote:
>
> On Sat, Sep 22, 2012 at 5:16 PM, neixetis >
> wrote:
> > I am about to deal with the same problem, however I have finishe
I am installing the sunlight fondation's brisket and I am really new to
python, and even more to django. So I downloaded on github the project :
https://github.com/sunlightlabs/brisket.
So, when I run the ./manage.py run server command, I get an error message.
But I know nothing from python and
Missing something basic here even after scouring web and running thru
online tut a few times.
Started a project 'mysite' and added twitter bootstrap then created a
static homepage "index.html' to act as a simple launchpad to other more
information & feature laden pages. Used direct_to_template
Hello,
I am new to django and I am writing a simple blog application.
For my app I am using markdown in order to write the texts.
The issue is that the markdown plugin doesn't render my text files.
I have attached my views.py and my template file
Regards,
Giorgos
--
You received this message
Hi,
The PyScripter FAQ has an entry about how to debug Django applications:
https://code.google.com/p/pyscripter/wiki/FAQ#How_can_I_debug_Django_applications?
Has anybody tried this out?
It doesn't work for me.
I can run my Django app but it ignores my breakpoints.
See my post on the PyScripter
On Sat, Sep 22, 2012 at 5:16 PM, neixetis wrote:
> I am about to deal with the same problem, however I have finished my
> project, now I need to update it asap on GAE, but I just can not as newest
> version of SDK Django is 1.3, whereas my project is 1.4. Any ideas what
> should I do now? Please h
Does it mean that few months ago newest django version for Google Cloud SQL
was 1.4, and now they downgraded to 1.3? Or that was just a mistake?
I am about to deal with the same problem, however I have finished my
project, now I need to update it asap on GAE, but I just can not as newest
versio
Thanks Nik it working :)
On Tuesday, September 18, 2012 10:40:59 PM UTC+2, Nikolas Stevenson-Molnar
wrote:
>
> Does this get at what you want to accomplish?
> https://docs.djangoproject.com/en/1.1/ref/contrib/formtools/form-wizard/
>
> _Nik
>
> On 9/18/2012 1:00 PM, Ndlovu wrote:
> > How do I
Hi All,
I'm a programmer and also an amateur photographer. And looking for a
gallery software for my own photo site is that ended up learning is
Python, Django and Linux (at my work I use only .net and c#).
Because I also a flickr user I started to doing a "frontend" flickr
using their API. If y
I've written a django-behave module to enable the use of the Behave
BDD module inside Django's test framework.
http://pypi.python.org/pypi/django-behave
Basic functionality at present, but I'll be continuing development on
it, and I am using it myself.
If anyone would be interested in trying it
This isn't that rare - it is a common UX requirement.
Set the value to something that cannot hash to any input. Depending on your
setup, '0' could work, or any other nonsense value. If you have a strict DB
schema, IIRC, there are some magic values that SHA will never generate, but I'd
have to
On Fri, Sep 21, 2012 at 9:25 PM, Sithembewena Lloyd Dube
wrote:
> Hi everyone,
>
> What is the recommended way to configure a Django project to listen for and
> respond to requests via the TCPIP protocol?
I'm intrigued why you think there would be a a "recommended" way to do this.
Django is a we
Thanks Andrew but I have a requirement where I have to programmatically
set it to an unusable password based on a particular condition.
I know this is a rare requirement but in the context of the application
I am building it makes sense. :-)
nav
On Friday 21 September 2012 12:22 PM, Andrew M
24 matches
Mail list logo