tes for multiple model types (i have more than one stateful
model in my project).
I hope someone else finds this useful! Thanks again all for the discussion.
On Saturday, November 11, 2017 at 10:18:25 AM UTC-5, Omar Helal wrote:
>
> Hi treyd,
> I think idea of updating the model
the class would have to be defined in your style somewhere
>>
>> On Fri, Nov 10, 2017 at 1:37 PM treyd >
>> wrote:
>>
>>> At some point I plan on figuring out how to do more intelligent
>>> front-end in-browser stuff (Angular, etc) which yeah would defin
you open to using JavaScript in the front end? It would make it really
> easy
>
> On Fri, Nov 10, 2017 at 12:40 PM treyd >
> wrote:
>
>> Hello,
>>
>> I am trying to render a model field in a django template, and, based on
>> the value of the field, I wa
there a better way of doing this? My thought was to put
the class names as another field in the model, but that seems like it would
violate the MVC (or MVT) separation. Any ideas?
Thanks in advance,
treyd
--
You received this message because you are subscribed to the Google Groups
"Django
4 matches
Mail list logo