On Oct 18, 2014, at 2:24 AM, Scipion wrote:
> Hey,
>
> I have started to use Django (1.6) few weeks ago and I have the following
> problem to resolve by using templatetags. (this is my very first templatetags
> draft, so I may be wrong in the way of designing it, do not hesitate to
> highlig
Thanks.
On Thursday, October 16, 2014 11:54:45 AM UTC-5, Vijay Khemlani wrote:
>
> If you are usign class based generic views you can use the decorators in
> the URL config of your app, for example
>
> urlpatterns = patterns('',
> (r'^about/', login_required(AboutView.as_view())),
> )
>
>
> O
I found the following thread at stackoverflow:
http://stackoverflow.com/questions/9777121/django-generic-views-when-to-use-listview-vs-detailview
I may want to paginate the list so it would seem to make sense to use the
list view (for the events) and just display the flow fields at the top of
th
@Avraham - thanks a lot
To clarify some of my mistakes. Overall we have our 1st version prototype
done. Now I would like to change it to the better architecture.
>>>what other option would you have other than django views?
API JSON responses made views - ala Tastypie for SPA parts
>>> how woul
On Saturday, October 18, 2014 10:05:11 PM UTC-7, Jon Joseph wrote:
>
>
> def __str__(self):
> return self.problem_number + '\n' + self.problem_statement
>
I don't like this idea of sticking a new line into a string representation.
Do you really want a new line crammed into every pos
All good advice from Avraham Serour - just a couple of additional comments:
On Sunday, October 19, 2014 1:06:55 AM UTC-7, Avraham Serour wrote:
>
>
>
> > BE API for web services integrations: TastyPie? (API will have to be
> versioned, I would like to have the auto documentation, too)
> I like t
I have implemented a model where one flow has many events as follows:
class Event(models.Model):
flow = models.ForeignKey(Flow)
...
I need a page to display one or two fields from a single flow and a list of
all related events.
Should I implement this with a DetailView, a ListView (if either
You were right Vijay. I worked this out. I needed to set type and state
via the context as follows:
def get_context_data(self, **kwargs):
context = super(TestFlow, self).get_context_data(**kwargs)
context.update({'type': self.kwargs['type'], 'state':
self.kwargs['state']})
return c
> UI other: bootstrap / kendo UI / dojo / jquery UI / ... ?
whatever you feel more comfortable, get something working first, but I
wouldn't use jqueryUI and wouldn't pay for kendo at least to begin, after I
got something working and the situation proves I need kendo I would buy it.
> JS framework
9 matches
Mail list logo