CommandError: App 'conttenttypes' does not have migrations (you cannot selectively sync unmigrated apps)
fgallina has quit
with ./manage.py migrate contenttypes I get the same error
SmileyChris
Boogymanx: is the data important at the moment?
Boogymanx: if not, rm the sqlite db and start from scratch
steve_seagulls has quit
Muchoz
Is my secret key of any use when I don't use sessions, CookieStoreage, FallbackStorage, signing, password_reset() and use bcrypt together with sha256 for all passwords (without using built-in Django models)?
Boogymanx
SmileyChris: is there a way I can start from scratch and after that restore the backup? The data isn't hugely important but it's a pain to re-enter
meisth0th joined the channel
Muchoz
Oh and no form previews or whatever.
Boogymanx
restore the sqlite rather
reliability has quit
edrmp
Hi All.
I hope this message finds you well.
Has someone used the new PostgreSQL field types ArrayField and IntegerRangeField?
I'm trying to use a ArrayField with a IntegerRangeField as base without success. Looks like the SQL generated by the Django ORM is invalid.
I created a test project, with more details, and some test cases to help illustrate the problem.
Boogymanx: Thanks for the help. I am not sure if this is really a bug or I am missing one thing or two :/
Boogymanx
I wouldn't know, I wouldn't dream of calling myself proficient at Django
zfjohnny has quit
acangiani has quit
SmileyChris
Muchoz: so you're pretty much just using orm & views?
Goopyo has quit
Boogymanx
but if you think the SQL generated by the ORM is invalid, I think it might be a better fit there
Muchoz
SmileyChris, just a REST API with authorisation.
ustunozgur joined the channel
Haudegen has quit
Well some kind of oauth implementation with sms verification.
delgiudices
I’m trying to use django filter to filter a model by date
SmileyChris
Muchoz: not sure what django's bringing to the party, but I can't see where you'll be using SECRET_KEY
delgiudices
DateRangeFilter works ok but i need more filters
Am i doing something wrong?
Muchoz
SmileyChris, I could've gone with a much faster option other than Django but I guess Django is quick to start with.
SmileyChris
what do you mean "Need more filters"?
Boogymanx
thanks SmileyChris, that fixed it
edrmp
Boogymanx: Sure. I will wait a bit. Maybe one of our colleagues here have been through something similar.
SmileyChris
Boogymanx: what did, starting fresh?
johnraz joined the channel
edrmp
Boogymanx: Thanks
delgiudices
SmileyChris: well for example DateRangeFilter contains today, this month etc.. but i need also an exact and between
ybathia joined the channel
Boogymanx
Yup. I'd rather not have done so because manually re-entering that stuff took me an hour, but it was the easiest fix so there we are. Off to bed now :) g'night all
you're welcome edgabaldi
edrmp even, sorry
SmileyChris
Boogymanx: after you've got your initial data reentered, use dumpdata afterwards next time ;)