2009-7-7
| 23:23 | FunkyBob | Trapecista: do you see it in the doco? I don't think so |
| 23:24 | FunkyBob | not for ifequal, it seems.. but if does |
| 23:24 | FunkyBob | |
| 23:25 | Trapecista | FunkyBob: would be nice to have it for ifequal, maybe its implemented |
| 23:25 | FunkyBob | read further |
| 23:26 | Trapecista | FunkyBob: ifequal seams stupid :P |
| 23:26 | andym swears there should only be about 4 tags in django templating | |
| 23:29 | noiiize | hi |
| 23:30 | noiiize | can't figure out how to enable a login form on every site |
| 23:31 | nwp | djangosnippets.org is borked. anyone here know what's going on? |
| 23:31 | nwp | stylesheets refer to media.djangosnippets.org, which doesn't appear to exist |
| 23:32 | FunkyBob | Trapecista: why is that? |
| 23:33 | noiiize | why won't the status be saved of my user ? |
| 23:33 | noiiize | if he logged in |
| 23:33 | noiiize | if i refer to a new template / view the user object doesn't exist |
| 23:34 | tie | nwp: media.djangosnippets.org goes to media.gipsyhosting.com, which is down |
| 23:35 | [530] | noiiize: your own view? does it use RequestContext? |
| 23:37 | noiiize | ([530]): it doesn't matter if i use django.contrib.auth.views.login or write my own view |
| 23:38 | [530] | noiiize: ah, loginform on every page, did not read that far back, but you still need to be more specific |
| 23:38 | stefano_ | hey, is it possible to use and/or into an {% ifequal %} template tag? |
| 23:39 | noiiize | ([530]): sorry i am pretty new to django, so don't know which information is useful for you :-/ |
| 23:39 | stefano_ | something like {% ifequal myvar "string1" or "string2" or "string3" %} |
| 23:39 | noiiize | ([530]): just ask and i try to answer you :-) |
| 23:41 | noiiize | ([530]): uhm .. about the RequestContext ... is it right that i can't use with a generic view like django.contrib.auth.views.login ? do i have to create my own view for it ? |
| 23:41 | [530] | stefano_: not possible |
| 23:42 | stefano_ | so there's not a template tag to compare more than 2 things? |
| 23:43 | [530] | stefano_: only booleans |
| 23:43 | BoulderDave | i'm trying to get a {% url %} tag to work, however i can't get the URL conf right for it to take kwargs... can anyone tell me what im doing wrong? http://dpaste.com/64326/ |
| 23:43 | [530] | noiiize: django.contrib.auth.views.login uses RequestContext |
| 23:44 | noiiize | ([530]): well then i don't get it .. i just can't call the user object in my template |
| 23:45 | [530] | BoulderDave: http://dpaste.com/64327/ |
| 23:47 | [530] | noiiize: is the auth context processor added to TEMPLATE_CONTEXT_PROCESSORS? |
| 23:47 | [530] | |
| 23:47 | BoulderDave | [530]: thanks :) however, reading the docs.. it says 'Additional arguments are optional and should be comma-separated values that will be used as positional and keyword arguments in the URL'... doesnt that mean it doesnt have to be a variable in the URL? and can be a kwarg passed in thru a dict? http://docs.djangoproject.com/en/dev/ref/templa... |
| 23:48 | noiiize | ([530]): well, the context processor is set by default django.contrib.auth.views.login |
| 23:48 | [530] | noiiize: um, no ;) |
| 23:48 | noiiize | ([530]): well, the context processor is set by default http://docs.djangoproject.com/en/dev/ref/settin... |
| 23:48 | [530] | |
| 23:48 | [530] | oh |
| 23:49 | [530] | noiiize: django.core.context_processors.auth is |
| 23:49 | belred | can someone help me understand why django is returning the string 'favicon.ico' for the url /favicon.ico/ ??? it's still in my IGNORABLE_ENDS. what is the significance of the returned string? |
| 23:49 | andym | wow $400 for djangocon |
| 23:49 | BoulderDave | damn |
| 23:50 | [530] | noiiize: but do you get any errors when trying to log in? |
| 23:51 | so_ | do you get a live python with your $400? :) |
| 23:51 | joshuajonah | Alot of money |
| 23:52 | noiiize | ([530]): i don't see any - it just refresh the current site and the form is still there - although i check on user.is_authenticated |
| 23:52 | [530] | so_: no a live pony ofcourse :P |
| 23:52 | joshuajonah | I probably cant go becasue of the price |
| 23:52 | aonweb | that is for corporates and it is peanuts for most corporates |
| 23:52 | so_ | $210 for non company purchases |
| 23:52 | [530] | noiiize: you post to the current view aswell? |
| 23:52 | [530] | noiiize: current url? |
| 23:52 | so_ | hotel will probably cost as much |
| 23:52 | belred | you are correct...i'm going with the corporate and it's peanuts |
| 23:52 | joshuajonah | I have to budget these things and it's too late. It's not a fucking MSDN conference for god sakes. $400 is overkill |
| 23:53 | andym | i just realised i don't think i've ever paid for a conference :) |
| 23:53 | noiiize | ([530]): i post it to login what is defined to the django.contrib.auth.views.login in "urls.py" |
| 23:53 | joshuajonah | My company is a corporation. As in me and two others. |
| 23:53 | noiiize | ([530]): and the current site is definded in the "next" element of the form |
| 23:53 | joshuajonah | I'll watch the videos, but this really let me down |
| 23:54 | andym | joshuajonah: similar size here, v. odd that speakers aren't discounted |
| 23:54 | noiiize | ([530]): so it refers to it automatically |
| 23:54 | joshuajonah | My flight there from Ontario, plus the ticket, plus hotel is a huge investment. Not smart for me and others I imagine |
| 23:54 | [530] | noiiize: and it redirects on post? |
| 23:54 | noiiize | [530] yes |
| 23:54 | noiiize | ([530]): yes |
| 23:55 | joshuajonah | Fuck speaking. I'd strip if the tickets were cheaper |
| 23:55 | [530] | noiiize: but is the test cookie set? |
| 23:55 | andym | joshuajonah: the registration fee is a small proportion of the cost for you and others |
| 23:55 | joshuajonah | Show you my python eggs ;) |
| 23:55 | andym | ewww |
| 23:55 | joshuajonah | lol |
| 23:55 | noiiize | ([530]): sorry - what is it and how can i check it ? :-) |
| 23:56 | joshuajonah | Meh, was going to bring a friend and everything, but now I can't even go. Guess i can book those vacation days for another time. |
| 23:57 | [530] | noiiize: the login view should show the form if the cookie was not set |
| 23:58 | joshuajonah | I don't know what the venue is like, but $400 a person for a hotel conference room is greedy |
| 23:58 | andym | joshuajonah: we'll do the Canadian conf. somewhere exciting like Regina |
| 23:58 | joshuajonah | lol |
| 23:58 | mikeal | does anyone know if one of the people working on django windmill stuff is submitting a talk for djangocon? |
| 23:58 | [530] | noiiize: oh, no, seems like it won't do that |
| 23:58 | joshuajonah | The Toronto Django group is getting bigger now |
| 23:58 | joshuajonah | andym: where are you? |
| 23:59 | andym | vancouver |
| 23:59 | joshuajonah | ah |
| 23:59 | joshuajonah | want a job? |
| 23:59 | joshuajonah | lol |
| 23:59 | noiiize | ([530]): well, i will paste what i have done to dpaste ... just wait a sec |
| 23:59 | [530] | noiiize: you need to copy the login view |
| 23:59 | andym | joshuajonah: got some work thanks mate, but happy to do more :) |
| 23:59 | joshuajonah | Looking for a person for a 100% django position |
Page 17 of 17
← Previous
(1,691 total)