2008-8-25

23:38 mattmcc
In which case it's a passing acquaintance.
23:38 shivraj
is there an easy way to do a search form ?
23:38 Haegin
huwshimi: but a settings.py file, not a mysite.settings file, hence slocate mysite.settings didn't help
23:38 fyrestrtr
mattmcc: yes, alter table is what I ended up doing as I didn't want to reset my app.
23:38 mattmcc
shivraj: Take the value from the form and pass it to a filter() call?
23:39 huwshimi
Haegin: Right :)
23:40 FunkyBob
Haegin: what did you call your project?
23:40 shivraj
mattmcc : yeah I know .. but how do you get more than one value from a search form ? ie .. I need to get city and state and can I use these state_fields ?
23:40 zodman
some suggest for do a timeline for entries on Models in a django project .......
23:41 mattmcc
shivraj: Well, that's up to you. Do you want the search form to have one input, or separate ones?
23:41 shivraj
separate
23:42 Haegin
FunkyBob: well this one is a group project but im setting up my own test server from the project svn tree so I didnt choose the name. I used mysite.settings to fit with the django docs to make it generic
23:43 FunkyBob
Haegin: so you ran "django-admin.py startproject mysite" ?
23:44 etank
if i have the svn co of django i just need to do "svn up" to update it right?
23:44 etank
im getting an error when i do that
23:45 kojiro
what error?
23:45 etank
svn: PROPFIND of '/': 405 Method Not Allowed (http://code.djangoproject.com)
23:45 Haegin
FunkyBob: no, a friend working on the project ran "django-admin.py startproject incubator" but when asking for help I altered the name as I understood that aspect of it and wanted to fit with the docs to make it more obvious what my problem was and it is sorted now, thanks :)
23:46 etank
i used "svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk" to do the co (which i believe is right)
23:46 FunkyBob
Haegin: in which case you should be using "incubator.settings" not "mysite.settings"
23:46 FunkyBob
anyway...
23:46 Haegin
FunkyBob: yeah, i know, it's fine, thanks
23:47 kojiro
etank: I think you are one directory too low
23:48 etank
kojiro: i am in the django-trunk dir
23:48 kojiro
etank: svn info > pastebin
23:49 etank
23:49 Haegin
etank: cd ../ && svn update
23:49 Haegin
i think
23:49 dryan
hey guys, anyone setup django using mod_wsgi on os x leopard?
23:49 etank
Haegin: [elake@wraith Apps]$ svn update
23:49 etank
Skipped '.'
23:50 etank
thats all i get
23:51 kojiro
etank: http://code.djangoproject.com/svn/ doesn't look like a repository
23:51 GDorn
ugh. after all this time, my mysql exception was due to an auto-generated auth_permission name being > 50 characters
23:51 kojiro
etank: it looks like a list of repositories
23:51 Magus-
kojiro: then you have little knowledge of subversion :)
23:51 Magus-
it is one
23:52 etank
23:52 etank
though
23:52 kojiro
Magus-: or perhaps I just made a mistake :P
23:52 kojiro
Magus-: so do you know how to fix etank's problem?
23:52 etank
i can do a fresh co but i dont think i messed this up
23:53 etank
this is the first time i have tried to do an update
23:53 Magus-
his "Apps" dir probably isn't an svn checkout
23:53 shivraj
mattmcc : this is what I have right now, how do I combine city and state in the query ? http://dpaste.com/73840/
23:53 Magus-
so that would be how to solve it
23:53 Magus-
go to the right directory
23:53 kojiro
Magus-: how did you divine that he has an "Apps" dir?
23:54 kojiro
I don't even see that
23:54 Magus-
because he said so
23:54 Magus-
[16:49:58] ----- <etank> Haegin: [elake@wraith Apps]$ svn update
23:54 Magus-
[16:49:58] ----- <etank> Skipped '.'
23:54 Magus-
Apps]$
23:54 kojiro
ah
23:54 kojiro
nice catch
23:54 kojiro
except that's when he cd ../ -ed
23:54 etank
i am trying to do the update in the ~/Apps/django-trunk dir
23:55 Magus-
not according to what you pasted, etank
23:55 kojiro
etank: ok, sanity check, cd django-trunk/django && svn up
23:55 Magus-
you were in Apps
23:55 Magus-
not django-trunk
23:55 kojiro
Magus-: yeah, because Haegin told him to do that
23:55 Magus-
kojiro: uh, no
23:55 Magus-
you want to update the entire django-trunk dir
23:55 kojiro
Magus-: he was in django-trunk before
23:55 etank
Magus-: that was after what kojiro said
23:55 Haegin
sorry, my bad
23:55 Magus-
then start over
23:55 Magus-
do a new checkout
23:55 etank
23:55 etank
ok i can do that
23:56 etank
Magus-: sanity check ... this is correct right "svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk"
23:57 Magus-
yes
23:57 FunkyBob
looks sane for a check out
23:57 etank
i get the same error
23:57 etank
hmm
23:57 Magus-
then something's wrong between you and them
23:57 Magus-
like a bad http proxy
23:58 kojiro
etank: did you execute that co command in Apps?
23:58 kojiro
etank: did you rm -r django-trunk first?
23:58 kojiro
or rename it, of course
23:58 etank
kojiro: i figured it out
23:58 kojiro
:)
23:58 etank
i took this box to work and we have a proxy there
23:59 kojiro
aha
23:59 etank
that is why it did not work here
23:59 kojiro
makes sense
23:59 etank
thanks for the help
23:59 fyrestrtr
can you chain filters?
Page 31 of 31   ← Previous  (3,089 total)