These are chat archives for django/django

7th
Oct 2017
Anish Shrestha
@annshress
Oct 07 2017 02:33

Ok, I can live with that. Though I assumed that contains lookup would look up for included chars.

What about the below quesiton Luke??? Can you help me

@LukeVideo
Furthermore, how can I be able to declare filters based on the request params.
like,

type3 = df.CharFilter(name="<varying_json_param_here>", lookup_expr='iexact')

It is required to take any form based on request.
like,
name="extra__color", ... or name="extra__size", ...
Here extra is a Jsonfield. Do you think it can be achieved?

Luke-VideoLibre
@LukeVideo
Oct 07 2017 08:26
I'm not sure if I understand... But you to request different attributes of a json object ? Definitely possible only I'm not sure how. You might have to format custom strings with a couple of line of python. But I guess you would have to do that in your views
Joseph Safwat Khella
@JosephSKh
Oct 07 2017 19:00
Evenings guys from Egypt !
what is the best host for django?
thx
Anjansrivathsav
@anjansrivathsav
Oct 07 2017 19:00
you can host it on pythonanywhere.com will be good
Joseph Safwat Khella
@JosephSKh
Oct 07 2017 19:01
is it good for production? or testing only?
Anjansrivathsav
@anjansrivathsav
Oct 07 2017 19:02
for production you can host it on digital ocean or aws
martskins
@martskins
Oct 07 2017 19:03
or google cloud platform
Joseph Safwat Khella
@JosephSKh
Oct 07 2017 19:04
which is better and the easiest? sorry guys it's my first time publishing it,,, i tried pythoneverywhere and succeded ,,, just afraid I can't publish angular along ith it
with*
martskins
@martskins
Oct 07 2017 19:06
amazon has more services and features
google I think is easier (gui-wise) and is rapidly growing
I'm not sure about AWS's free tier, but google has a free usage quota which you can most of the times make use of
they're both awesome
Joseph Safwat Khella
@JosephSKh
Oct 07 2017 19:07
thx guys
nice,,, I think i will give good cloud a hit