On Thursday, October 30, 2014 4:34:32 PM UTC+7, sams...@gmail.com wrote:
>
> I've inherited an app that was written for Django 1.4, and updated it to
> Django 1.7.
> ...
> Are any being actively used/fixed/supported? Which one should I try?
>
While Russell Keith-Magee is definitely correct when
> On Oct 31, 2014, at 3:26 PM, Torsten Bronger
> wrote:
>
> Hallöchen!
>
> Carl Meyer writes:
>
>>> On Oct 31, 2014, at 4:19 AM, Torsten Bronger
>>> wrote:
>>>
>>> [...]
>>>
>>> Do you mean this:
>>>
>>> class
Hey,
A filter would work better here if you can use one. The following
should work:
Defined as: @register.filter def encode_url(link_text): return
link_text.replace(' ', '_')
And in template: {% with state_url=flow.state.description|encode_url %}
advance {%
endwith %}
Aubrey
On Thu, Oct 30,
On 1/11/2014 2:35 AM, Sasa Trifunovic wrote:
Hi,
I have to save 3 versions of uploaded photo (and i dont want to use
solr) , original one and two which are resized versions of the original one.
I need those two additional photos as ImageFields in my model , due to
the fact that i want to use
Hi Collin,
Thanks for the solution !
On Thursday, 30 October 2014 02:39:53 UTC+8, Collin Anderson wrote:
>
> Hello,
>
> One way to do it would be to have add an editable=False field name_sort
> that's a lower() version of your name field. You can update that field in
> the save method.
>
>
Hi Erik,
> Maybe Users doesn't belong in the Orders table? You could move the user to
> a different table which stores the Order.id <-> user_id relation, which
> would give a fast lookup on user_id and thus easy access to the Order.id
> index.
Interesting idea! I'll think about it.
Hallöchen!
Carl Meyer writes:
>> On Oct 31, 2014, at 4:19 AM, Torsten Bronger
>> wrote:
>>
>> [...]
>>
>> Do you mean this:
>>
>>class ExternalOperator(models.Model):
>>
>>name = models.CharField(_("name"), max_length=30, unique=True)
>>
> On Oct 31, 2014, at 4:19 AM, Torsten Bronger
> wrote:
> Carl Meyer writes:
>> [...]
>>
>> There is no built in feature for this, but it doesn't seem like a
>> hard problem to solve with your own conventions. For instance,
>> rather than hardcoding the name of
Ticket created at https://code.djangoproject.com/ticket/23741 , with a
basic implementation (that detected missing relations on non-managed models
on my project !!).
Thanks for the help !
Le jeudi 30 octobre 2014 18:28:31 UTC+1, Carl Meyer a écrit :
>
> On 10/30/2014 06:09 AM, not...@gmail.com
Hi,
I have to save 3 versions of uploaded photo (and i dont want to use solr) ,
original one and two which are resized versions of the original one.
I need those two additional photos as ImageFields in my model , due to the
fact that i want to use django ORM.
Class Post(model.Models):
On Thu, Oct 30, 2014 at 2:50 PM, john wrote:
> Hi,
>
> On the server side of my Django website I use pycurl (version 7.20.x) to
> connect to authorize.net (to send credit card info). On Nov 4 Authorize.net
> will turn off SSLv3. So I'm wondering if my use pycurl will
Hi all,
I am in the process right now of working on a web portal where we want to
rotate the csrf token on each request. We intend to have a new token each
time for optimal security. I was hoping someone might know more about this
than I do because I've run into some difficulties that were not
My Self Raheem Pasha, Freelance Hyderabad based Freelance Website Designer
and Developer with Five years experience in Internet, offering high-end
expertise solution at freelance . Offering Web designing,Seo Services,Web
Hosting,Template designing,Logo Designing,Banner Advertisement,Flash
Thanks Ramiro, that worked.
I think I understand why, but there's one thing I still don't get. I have
some error messages that I was marking for translation with ugettext_noop,
as I read it was a good way if I wanted for example to log the message
without translation and translate it only
Hallöchen!
Carl Meyer writes:
> [...]
>
> There is no built in feature for this, but it doesn't seem like a
> hard problem to solve with your own conventions. For instance,
> rather than hardcoding the name of the natural key field inside
> the natural_key method, make it a model class
Hi Torsten,
> On Oct 31, 2014, at 3:13 AM, Torsten Bronger
> wrote:
> Do I understand it correctly that in the Django community, it is
> preferred to use surrogate primary keys (the auto ID field) instead
> of explicitly setting primary keys?
Yes, I'd say this
Hallöchen!
Do I understand it correctly that in the Django community, it is
preferred to use surrogate primary keys (the auto ID field) instead
of explicitly setting primary keys? Currently, I add natural_key()
methods to many of my models, but some of them return only one
field. Now I wonder
17 matches
Mail list logo