2009-7-6
| 21:59 | becomingGuru | subsume, No U cant, do that |
| 22:00 | subsume | thanks. worked around. |
| 22:07 | DarwinSurvivor | what's the easiest way to add new permissions to an existing model? |
| 22:08 | subsume | DarwinSurvivor: the easiest way or the only way? |
| 22:08 | andym_ | add in permissions into the Meta class AFAIR |
| 22:08 | DarwinSurvivor | either way :p |
| 22:08 | bx2 | hi all, is it possible to use FK inside limit_choices_to? |
| 22:08 | DarwinSurvivor | can it be done without backing up and reloading the entire table? |
| 22:09 | subsume | DarwinSurvivor: yes. has nothing to do with that. |
| 22:09 | subsume | happens on syncdb |
| 22:09 | DarwinSurvivor | if the table already exists (with some permissions in the db) will it see the new permissions and add them? |
| 22:10 | DarwinSurvivor | I was under the impression it only scanned for new *tables* |
| 22:10 | subsume | DarwinSurvivor: nope. new perms too. |
| 22:10 | DarwinSurvivor | sweet |
| 22:10 | DarwinSurvivor | thanks |
| 22:17 | bx2 | is there any way to use generic relations with m2m field? |
| 22:36 | xsamurai | getting cant adapt error with this statement User.objects.filter(username=request.user).delete() , if I put the username as a string 'testuser' it works fine. |
| 22:38 | dang`r`us | is it possible to find out whether a certain instance has been saved at least once without breaking abstractions? |
| 22:39 | xsamurai | dont answer that , lack of sleep, got it working |
| 22:40 | dang`r`us | I could probably check whether its primary key exists |
| 22:40 | dang`r`us | close enough ... |
| 22:54 | kingdong | is there any documentation about the 'autocomplete' form param ? |
| 22:55 | kingdong | not in django but anywhere on the intardweb ? |
| 22:55 | kingdong | there nothing on w3 |
| 22:55 | gordonjcp | kingdong: what? |
| 22:55 | subsume | some fantasy feature |
| 22:55 | kingdong | autocomplete param for password field |
| 22:55 | subsume | I think he's talking about the slug field in admin |
| 22:56 | kingdong | its nothing django related, its a 'standard' html param but seem undocumented to me |
| 22:56 | subsume | attrs |
| 22:56 | subsume | on Widget |
| 22:56 | kingdong | |
| 22:56 | dang`r`us | :-< |
| 22:56 | kingdong | nothing official |
| 22:56 | kingdong | i want some 'official' docs, w3 or something |
| 22:56 | subsume | not django related. |
| 22:56 | kingdong | all i see are lousy blogs |
| 22:56 | subsume | kbye |
| 22:56 | kingdong | jeez cocks fawk |
| 22:57 | gordonjcp | kingdong: it looks like it's a Windows-specific thing |
| 22:57 | kingdong | yea i think its IE only |
| 22:57 | gordonjcp | this probably isn't a great place to ask about that |
| 22:57 | kingdong | like the HTTPOnly param |
| 22:57 | subsume | not even remotely. |
| 22:57 | kingdong | ok ill ask on rubyonfails |
| 22:57 | kingdong | the need so much attention... |
| 22:57 | rozwell | kingdong: it isn't a standard attribute |
| 22:57 | rozwell | kingdong: so you won't find it in the standards |
| 22:58 | kingdong | ms specific like the cookie HTTPonly flag |
| 22:58 | kingdong | errr |
| 22:58 | rozwell | |
| 22:58 | rozwell | |
| 22:59 | kingdong | This form attribute is not part of any web standards but was first introduced in Microsoft's Internet Explorer 5. Netscape introduced it in version 6.2 -- in prior versions, this attribute is ignored. |
| 22:59 | kingdong | amen |
| 22:59 | kingdong | found it on some obscure mozilla page |
| 23:00 | rozwell | so it works in mozilla and IE, who knows about anything else |
| 23:03 | Bacon | I LOVE BACON!!! |
| 23:05 | mattmcc | Who doesn't? |
| 23:05 | gordonjcp | indeed |
| 23:05 | Bacon | Good point |
| 23:05 | rozwell | many vegetarian types |
| 23:05 | gordonjcp | bacon makes everything awesome |
| 23:06 | gordonjcp | http://www.gjcp.net/articles/space/ <- my website with cool space pics, written in Django |
| 23:06 | Bacon | so what exactly is django? |
| 23:07 | gordonjcp | http://bacolicio.us/http://www.gjcp.net/article... <- now it's awesome |
| 23:07 | Bacon just came here to spam his love of bacon | |
| 23:07 | rozwell | Bacon: rtft |
| 23:07 | Bacon | ? |
| 23:07 | Bacon | rtft? |
| 23:07 | rozwell | the topic: read it |
| 23:07 | Bacon | oh |
| 23:07 | gordonjcp | http://www.djangoproject.com/ <- all you need to know about Django |
| 23:08 | gordonjcp | http://bacolicio.us/http://www.djangoproject.com/ <- all you need to know about Django, with extra awesome |
| 23:08 | Bacon | ah |
| 23:08 | Bacon | a framework |
| 23:08 | Bacon | how does it compare to codeigniter |
| 23:09 | rozwell | Bacon: favorably |
| 23:09 | Bacon | you probably need to know python though to use django do you |
| 23:10 | gordonjcp | Bacon: yes |
| 23:10 | gordonjcp | fortunately, Python is quite easy to learn |
| 23:10 | Bacon | well, so much for me using it then |
| 23:10 | Bacon | really? |
| 23:10 | Bacon | I know PHP better than the palm of my hand |
| 23:10 | Bacon | and believe me, I really know the palm of my hand well |
| 23:10 | gordonjcp | not as well as... no, let's not have that |
| 23:11 | gordonjcp | ;-) |
| 23:11 | mattmcc | Bacon: Then you've already done something harder than learning Python. |
| 23:11 | gordonjcp | yeah totally |
| 23:11 | Bacon | you think PHP is harder than Python? |
| 23:11 | Bacon | I thought PHP was like the easiest language out there |
| 23:11 | rozwell | certainly |
| 23:11 | rozwell | no, it definitely isn't |
| 23:11 | synic | php makes a lot less sense |
| 23:12 | Bacon | hmm |
| 23:12 | Bacon | I might check python out then |
| 23:12 | Bacon | I'm not a heavy programmer though |
| 23:12 | Bacon | I do enjoy programming for websites though |
| 23:14 | gordonjcp | Bacon: have a poke through the tutorial |
| 23:14 | Bacon | where at? |
| 23:14 | gordonjcp | on the Django website |