ok... now at some point here you need to engage your own brain
Bubo
ah
FunkyBob
telling django runserver to bind to "0:8000" is telling it to bind to port 8000 on _all_ IPs on the machine
so... instead of '0' there... put the address you SSH to
Clientkill
ok
it worked
joendotcom joined the channel
Wolfram74
this sounds relavent to my interestes
interests
because I'm going to need to run the dev server over an SSH connection in the very near future
FunkyBob
it's exactly the same as running a dev server on your local machine
prudnikov
any ideas why logging is very slow? such as `logger = logging.getLogger(__name__);logger.error("somethinfg")`, it takes about 1.8 sec to log one line. (django is running under uWSGI)
FunkyBob
[unless your local machine is windows... then... well.. sucks to be you :)]
Wolfram74
except i'm not going to be able to go to 127.blah.blah.blah, right?
FunkyBob
Wolfram74: _running_ it is no different... _connecting_ to it is
mgrouchy has quit
EyePulp has quit
Wolfram74
that would be the hang up i'm anticipating
chrisjones has quit
FunkyBob
and now you know the brute-force solution
Wolfram74
yay, violence?
hwrd|work joined the channel
pjs has quit
Clientkill
FunkyBob: here's another catch
I'm in my site directory and there's no settings.py
vtone has quit
FunkyBob
Clientkill: are you in the dir with manage.py?
Clientkill
yea
estebistec|work joined the channel
FunkyBob
then, as I told you before, settings.py is in your project module...
Clientkill
we never got to that
FunkyBob
Clientkill: type "find ." when you're in your workspace [where manage.py is]
yes we fucking well did
not my fault if you ignore half of what I say
Clientkill
you just said one thing about it and we moved on to the next topic
prudnikov
:)
Clientkill
I'm listening to everything you're saying
Wolfram74
did this guy just skip wading through the tutorial?
EyePulp joined the channel
Clientkill
no?
FunkyBob
Wolfram74: I reckon
jcarbaugh has quit
Clientkill
This is the problem with IRC channels
FunkyBob
Clientkill: so, you're in your workspace
the dir where 'manage.py' is .... y es?
Clientkill
yes
it's right in there
FunkyBob
what's right in there?
Clientkill
manage.py
Wolfram74
are you in the terminal or using a desktop and stuff?
FunkyBob
ok
that is your _workspace_
Derailed
hey guys, lets say you have an important operation wrapped in a transaction, if something fails you'd want to roll back the transaction, but lets say you want to log its sucess or failure? how can you reliably do something to your database that will happen independantly of the other transaction's stuff?
Clientkill
right
FunkyBob
inside that there is another dir... of the same name.... yes?
Clientkill
yes
Wolfram74
settings.py is there
FunkyBob
that is your _project_ _module_
winkey_ has quit
as I told you before, settings.py and urls.py and some other stuff will be in there
winkey_ joined the channel
Clientkill
_o_ _k_
Wolfram74
you know, google hangouts have a really convenient screen sharing component to them
If I ever start partner programming, i'm gonna use it
Clocked has quit
FunkyBob
now... I'm going to lunch
Clientkill
I'd rather learn on my own, if you're referencing this situation