*** tpb has joined #melange | 00:00 | |
*** r0bby has quit IRC | 01:04 | |
*** robbyoconnor has joined #melange | 01:27 | |
*** Mek has quit IRC | 02:16 | |
*** thrain42 has joined #melange | 02:36 | |
*** ChanServ sets mode: +v thrain42 | 02:36 | |
*** durin42 has quit IRC | 02:36 | |
*** robbyoconnor has quit IRC | 02:47 | |
*** robbyoconnor has joined #melange | 02:47 | |
*** lresende has joined #melange | 03:19 | |
*** Mek has joined #melange | 03:38 | |
*** lresende has quit IRC | 05:26 | |
*** dr__house has joined #melange | 06:26 | |
*** robbyoconnor has quit IRC | 07:14 | |
*** MatthewWilkes has joined #melange | 07:48 | |
*** tansell has quit IRC | 08:11 | |
*** tansell-laptop has quit IRC | 08:15 | |
*** dr__house has quit IRC | 09:01 | |
*** saviet has joined #melange | 09:32 | |
*** Leo__ has joined #melange | 10:01 | |
*** Leo__ has quit IRC | 10:28 | |
*** Leo__ has joined #melange | 10:55 | |
*** madrazr has joined #melange | 12:33 | |
*** ChanServ sets mode: +v madrazr | 12:33 | |
*** scorche has quit IRC | 12:50 | |
*** scorche has joined #melange | 12:51 | |
*** sttwister has joined #melange | 13:02 | |
*** dr__house has joined #melange | 13:09 | |
*** dr__house has quit IRC | 14:26 | |
*** madrazr has quit IRC | 15:38 | |
*** thrain42 is now known as durin42 | 15:45 | |
*** MatthewWilkes has quit IRC | 16:39 | |
*** madrazr has joined #melange | 16:45 | |
*** ChanServ sets mode: +v madrazr | 16:45 | |
*** thrain42 has joined #melange | 17:44 | |
*** ChanServ sets mode: +v thrain42 | 17:44 | |
*** durin42 has quit IRC | 17:45 | |
*** robbyoconnor has joined #melange | 17:58 | |
*** r0bby has joined #melange | 18:02 | |
*** robbyoconnor has quit IRC | 18:06 | |
*** madrazr has quit IRC | 18:15 | |
*** r0bby is now known as robbyoconnor | 18:25 | |
*** madrazr has joined #melange | 18:26 | |
*** ChanServ sets mode: +v madrazr | 18:26 | |
*** madrazr has quit IRC | 18:47 | |
*** dhaun has joined #melange | 20:25 | |
*** dr__house has joined #melange | 20:28 | |
sttwister | anyone knows how would I go with creating a view that's not specific to any model ? | 22:26 |
---|---|---|
*** dhaun has quit IRC | 22:40 | |
Leo__ | sttwister: heya | 22:55 |
Leo__ | sttwister: do you mean to use a single view to handle many types of models? | 22:56 |
sttwister | Leo__: hey | 22:57 |
sttwister | Leo__: no, I mean a view that doesn't rely on data from any model | 22:57 |
sttwister | Leo__: in my case, a view that simply returns a list of all models detected via introspecting the code | 22:58 |
Leo__ | sttwister: a view is not necessary to associate with one model | 22:59 |
sttwister | Leo__: well that's correct, but I can't seem to find any view in Melange that is not associated with either a model or a task | 23:00 |
Leo__ | sttwister: it just handles a request, does something and then return a response. | 23:00 |
sttwister | Leo__: I'm looking for a way to properly integrate it with the modules callback systems and reuse existing code | 23:00 |
Leo__ | sttwister: that's probably the special needs of Melange | 23:01 |
*** lresende has joined #melange | 23:02 | |
Leo__ | sttwister: you may want to have a look at soc.views.models.cron | 23:03 |
Leo__ | which seems not bounded with any model | 23:04 |
sttwister | Leo__: oh that's right, thanks | 23:04 |
sttwister | it's just odd that it's placed under soc.views.models | 23:04 |
Leo__ | sttwister: pleasure :-) | 23:05 |
*** dr__house has quit IRC | 23:06 | |
Leo__ | sttwister: yes, it may be due to the fact that it also inherits base.View :-) | 23:07 |
sttwister | Leo__: I think then that there's also a need for a Logic class (which again is not bound to any model?) ? | 23:09 |
Leo__ | sttwister: hehe, probably | 23:14 |
Leo__ | sttwister: gotta sleep. Talk to you later. | 23:17 |
*** Leo__ has quit IRC | 23:18 | |
*** lresende has joined #melange | 23:23 | |
*** lresende has quit IRC | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!