I'd also file a bug asking them to please not remove versions.
surfnturf_
yeah. also my requirements was created by pip-compile
jjasinski joined the channel
jjasinski
All, one of my users accidentally deleted a record from the Django admin, which had tons of cascading effects. I'm trying to restore that delete from a database backup and am experimeing with using a django.contrib.admin.utils.NestedObjects collector (against my backup databases) to identify which objects to re-create.
I think using the NestedObjects collector has helped me identify those objects
but now, I'm trying to restore them.
I'm wondering if there is any way to get the collector to tell me the order that the objects should be restored (I'm thinking the inverse of what it does during a delete).
ycon_ joined the channel
Like, for example, load all model instances of type A first, then load type B, then type C.
exploreshaifali
@jdqx yea thanks! :)
jjasinski
Do you know how the NestedObjects collector determines the order to delete?
ycon_ has quit
eMyller has quit
OERIAS joined the channel
brunch875 has quit
OERIAS has quit
surfnturf_
Wooble: looks like Koterpillar already complained about it
nownot has quit
t2mkn has quit
govg joined the channel
kbck has quit
Itkovian joined the channel
adsworth has quit
ExoUNX has quit
afterburned6387 joined the channel
afterburned6387
Question - I have a Django app that uses S3 for file storage. I am trying to build a feature that automatically sends files to a user's dropbox account. Is there a way to send data direct from S3 to DB without going through the Django server?
choosegoose: Yeah, I know dropbox has an API. I think that's the path I'm going to end up going. At least with dropbox I can check the contents of the folder, and not send duplicate data - so it's a cache of sorts.
Compressing... CommandError: An error occurred during rendering /home/wash/site/wash/base/templates/base/logged-checkout.html: Could not find backend 'redis_cache.RedisCache': No module named redis_cache
any hints?
lolidunno has quit
lolidunno joined the channel
adw1n has quit
ycon_ joined the channel
djosh has quit
eperzhand joined the channel
tourdownunder joined the channel
tango123 has quit
ycon_ has quit
lolidunno has quit
lolidunno joined the channel
mastizada joined the channel
Guddu_ joined the channel
Sonderblade joined the channel
eggstyrone has quit
Guddu has quit
sol1x has quit
mbodock
exit
mbodock has quit
dal220 has quit
dal220 joined the channel
kyheo has quit
kyheo joined the channel
kyheo has quit
kyheo joined the channel
sjdines joined the channel
thinkt4nk joined the channel
eperzhand has quit
dal220 has quit
dal220 joined the channel
ozcanesen has quit
dal220 has quit
dal220 joined the channel
fujii has quit
sjdines has quit
kyheo has quit
kyheo joined the channel
roomcayz joined the channel
kyheo has quit
skullone joined the channel
ycon_ joined the channel
bed666 has quit
ycon_ has quit
justanot1erbody joined the channel
dal220 has quit
thinkt4nk has quit
dal220 joined the channel
skullone
is there an 'easy' way to do multiple joins inside a DetailView CBV?
struggling to query a distant related table inside this CBV
LeaChim has quit
inside the CBV, odd Model1, theres a FK to Model2, but Model3 has no FK to Model1 - just a nested join
on* Model1, rather
chicocvenancio_ is now known as chicocvenancio
ams__ has quit
exploreshaifali has quit
surfnturf_
will creating an object with o2o field create integrity error if I the linked object is duplicated?
for example here if account points to something already used
dal220 has quit
dal220 joined the channel
mattmcc
skullone: Can you paste the relevant models?
surfnturf_: If one account can have two sets of credentials, then it'd be a ForeignKey.
jakefb joined the channel
skullone
mattmcc: yah, but the models themselves are kinda generic.. ModelA, ModelB, ModelC... I want to nest a join from ModelA, through B, to C
:p
mattmcc
That's fine, but it's not clear what the relationships between them are from you just saying that.
jrms joined the channel
phinxy has quit
jrms
Hi. I just started reading the Contributing doc. I went through the Unit tests section and I found that when running ./runtests.py with a none 0022 umask some tests fail... I use a default umask of 0027 and I've to do (umask 0022; ./runtests.py) for them to succeed.
just wanted to mention it, in case it worth...
the tests that fail are some utils_tests.test_archive.*, which do some perms check on extracted archives