hey friends! I finally got a working solution for the question I posted a little while, related with faking a file write to the filesystem, when running automated tests
Hello, I need to convert some data from one model to another. Only some of the data from one model. How should I go about converting that data in my migration?
extc
@yaplej have you made an empty migration?
yaplej
I have not made anything yet.
aussiejames joined the channel
I have the initial migration that created the original tables. I created a few new models and some of that data in the old model I need to copy/purge from.
jhfisc joined the channel
felixn has quit
eperzhand has quit
moretango has quit
So I should create the migration that creates the tables for the new models then add a custom migration to copy/purge the data?
bkxd has quit
jessamynsmith has quit
tourdownunder has quit
jhfisc has quit
jhfisc joined the channel
sasheto has quit
dirgeable joined the channel
extc
yes
jhfisc has quit
dirgeable
hi! if i have some non-form ajax json data and im going to run a query with it is there a sanitize method I should use or something?
freecrypt has quit
glassresistor has quit
SmileyChris joined the channel
freecrypt joined the channel
MikeTheReader has quit
skywlkr joined the channel
danner joined the channel
seven-eleven has quit
danner joined the channel
freecrypt has quit
seven-eleven joined the channel
milardovich has quit
andyhoang joined the channel
Argylelabcoat has quit
andyhoang has quit
zoolook joined the channel
seven-eleven has quit
danner joined the channel
skywlkr has quit
seven-eleven joined the channel
bkxd joined the channel
guhcampos has quit
vlt
dirgeable: You can always create a form and just use its validation. But what exactly does “run a query with it” mean here?
dirgeable
vlt get some category tags from json, filter object with those tags
vlt
dirgeable: Should be safe to use in .filter().
bkxd has quit
dirgeable
thanks!
jessamynsmith joined the channel
skywlkr joined the channel
csotelo_at_work has quit
jas02 joined the channel
extc has quit
tourdownunder joined the channel
seven-eleven has quit
jas02 has quit
seven-eleven joined the channel
theseb joined the channel
milardovich joined the channel
theseb
sqlite3 question....HOW create the tables? ./manage.py migrate does NOT seem to do that!?/1
with mysql all the db stuff just got done from django\
Ryanar has quit
what's the deal/?
bradfordli123 has quit
Neomex joined the channel
roomcayz joined the channel
jhfisc joined the channel
nopolitica joined the channel
aclark joined the channel
the_rat joined the channel
jessamynsmith has quit
the_rat has quit
jhfisc has quit
knbk
theseb: ./manage.py migrate should work. can you show your db settings?