If you have a look at that package, it should enable to you bolt stuff on without having to change your existing model structure.
Oh wait, you need to inherit from Node for that one.
andym joined the channel
Aieshur has quit
Hmm. The view that is generated uses hard-codes column names. I wonder if you could generate that dynamically...
jezeniel joined the channel
xliiv joined the channel
andym has quit
foxmask
bonjello
nazarewk joined the channel
n0nam3 joined the channel
mitaka joined the channel
take_flight joined the channel
oxygene joined the channel
jessamynsmith has quit
jessamynsmith joined the channel
bradfordli123 joined the channel
jtiai
Good morning.
felixx joined the channel
rpkilby joined the channel
jessamynsmith has quit
fleetfox
o/
rpkilby has quit
nazarewk has quit
oxygene has quit
tneva82
https://paste.ofcode.org/WLSDBkwy67RkgD3qiyx5vC <- we are trying to set up server. Well the hosting company is since we have nobody qualified to set up servers really. Anyway virtualenv installed, django and all the packages we use installed, postgres works and we can access it. We can even get to server by ip address. Problem is we get server error. On the paste error log. Something weird
seems to happen on wsgi.py but that file is just taken from our existing server
nazarewk joined the channel
fleetfox
can you run it with runserver?
tneva82
yes
and migrations were succesfully run
fleetfox
why did you have to touch wsgi file?
tneva82
could it be with the /etc/httpd/conf.d/django.conf file?
fleetfox
can you share it?
if the settings are correct it seems like it's bootstraping twice or something
tneva82
I don't think we touched it. It's just copied from existing file and pointed to correct setting file
fleetfox
pointed what?
you are supposed to set env variables for settings
anyway the line 14 is what I have changed but this worked before just fine on other servers
fleetfox
that probably is not the cause
share other configs, i don't deal with apache but someone else might notice something
knbk_ joined the channel
tneva82
what configs you would need?
fleetfox
vhost and settings perhaps
tneva82
and where those I might find? hopefully I have access to those. I have rather limited access to the server(hell yesterday I couldn't literally create folder to my home folder! At least we got some more access to it)
fleetfox
this one looks like it's vhost /etc/httpd/conf.d/django.conf
can you run manage.py check?
tneva82
hey waitaminit. now it complains about non-ascii characters when I run runserver but wtf? in morning it worked.
maybe something happened somewhere and this is culprit
Can you drop a `import pdb; pdb.set_trace()` in there and see what the filename is before it's returned?
geekodour08 joined the channel
fleetfox
isn't filename set by generate_file_name or something liek that on the storage intreface?
kuter joined the channel
zeus1 joined the channel
sayan has quit
sayan joined the channel
rpkilby joined the channel
rpkilby has quit
greg_f joined the channel
nix64bit joined the channel
adriant has quit
adriant joined the channel
Ikoru has quit
hackvana has quit
hackvana joined the channel
Fr4n has quit
vdboor joined the channel
JustASlacker joined the channel
rabbitaaron has quit
Fr4n joined the channel
cryocaustik has quit
rvgate joined the channel
fnstudio joined the channel
synProgrammer joined the channel
take_flight has quit
emihir0 joined the channel
emihir0
What is a 'modern' way to notify staff (users) about certain events? It's not really django related but I wonder what do you folks use? I'm thinking about sending a whatsapp message
iivvoo joined the channel
Ahuj joined the channel
Haudegen joined the channel
Beef_wgtn
emihir0: slack
Silvering has quit
jtiai
I think all goes down to what system you use for communications.
vdboor has quit
dang`r`us
what jtiai said
if you build your own company social network, desktop notifications are an option ..
and/or send an email
rpkilby joined the channel
drake01 joined the channel
drake01 has left the channel
vdboor joined the channel
jezeniel joined the channel
drake01 joined the channel
rpkilby has quit
sunil_bansal has quit
geekodour08 has quit
arlyon joined the channel
arlyon has quit
zeus1 has quit
a5459 joined the channel
a5459
Hello
arlyon joined the channel
So,I'm having trouble accessing my django local app from another device (say, my phone)
And I did the usual Stackoverflow-ing
Opened the requisite ports
added ['*'] to settings
started the server with 0.0.0.0:8000
And it still won't let me access the application from my phone. It says This Site can't be reached
;-;
rpkilby joined the channel
drake01 has quit
andym joined the channel
ticketbot has quit
ticketbot joined the channel
foxmask
a5459: is your app on a dedicated server accessible from internet ?
rpkilby has quit
madsj joined the channel
andym has quit
otherwise from your phone you could access to the app from the LAN if your phone is connected to the local wifi
shangxiao has quit
a5459
That's effectively what I'm trying to do
Is there something I'm missing from a reachability perspective
?
foxmask
what do you try to do ? an internet acces or a lan access ?
a5459
I'm trying to do a LAN access
foxmask
what do you write in your browser to access to your app ?