.
MongoDB is noSql, it is open source
Anonymous
Anonymous
Sounds more like not being in favour is using it
.
MongoDB is flexible, request are easy, you can store unstructured data......
Django Bot
>> Blogs - CFE CLI
Anonymous
Oh django group!
JZA
Yup
Anonymous
sweet!
Anonymous
that means i am learning popular framework
Anonymous
i am proud of u, me 😊
Anonymous
And depressed?
Anonymous
no i need some self-confidence tho
Anonymous
before some admin kicks my ass outta here can i ask on topic question ?
JZA
Shoot
Anonymous
Django is great and so are you
Anonymous
i came day to the point i realized i'm not that smart, it's populationg data base process, i really could not stoamch it so how often do u guys use it ? is it necessary ?
Anonymous
thank you kind shirt-less guy 😊
JZA
Yeah is an odd question
Anonymous
Ugh,I don't understand you
good news! so you don't know population database ?
JZA
Define populate
JZA
You mean fill it with Data before hand?
JZA
Like a demo site
Anonymous
populate = process to test your data base where an awesome library named "faker" create fake data base for your project, you really should try it out
Anonymous
but i could not understand it so i am asking if it's necessary
JZA
Yeah that's what I thought
JZA
No it's not
JZA
Usually you might populate it for demonstration purposes
JZA
Like a fake e-store
Anonymous
that is super nice
Charly
I populate my DB for testst that requires some data to work
JZA
Or sample gallery albums
Charly
so I can say always populate my db
Anonymous
so it's good feature but not that important, thank you guys❤️😊
Anonymous
Ahh, heard about that
another good news
Anonymous
😄
JZA
But most testing methodology relies more on sample code
JZA
Like test oriented development
Anonymous
Ah i got u, i should move on to the next topic of the course i'm taking without understanding it, later i'll study it
JZA
https://www.obeythetestinggoat.com/book/part1.harry.html
JZA
Yeah learn about unit testing basics
Anonymous
i will, thanks for helping me out ❤️
Abhi
anyone used page generation in django ?
Charly
what dou you mean with "page generation"?
Abhi
i mean page break @Carlangueitor
Charly
page break? like in printed documents?
Abhi
yeah
Abhi
will just addling css style make the page break ?
Charly
Still dont understand
Charly
where you need to put a page break? websites doesn't have "pages"
Abhi
i want to generate my pdf from my page
Charly
ohhh you never said pdf before
Abhi
so i don't want things to merge with one page to another
Charly
how are you creating a pdf?
Abhi
so i am supposed to divided the page such that i get a clear pdf
Abhi
Charly
yeah with css page breaks must work
Charly
https://www.sitepoint.com/community/t/creating-page-breaks-in-wkhtmltopdf/38929
Abhi
also while adding css style for page break, if i want to test it
Abhi
call ctrl + P will work ?
Abhi
i mean using above command a temporary image is generate so will the page willl be generated accoding the my new style or have to convert it first to pdf only after i can see it ?
Charly
there can be difference between your browser and wkhtmltopdf rendering so you may see the generated pdf to see the results
Abhi
okay
Abhi
thank @Carlangueitor
Charly
👍
Abhi
i using this code to serialize my object
Abhi
update = Update.objects.get(unique_key=unique_key) return JsonResponse(serializers.serialize('json', update), safe=False)
Abhi
and getting this error 'module' object has no attribute 'serialize' any idea ?
Tushar
does anyone know how to deploy project. I deployed my project on digitalocean using one click install app(https://www.digitalocean.com/community/tutorials/how-to-use-the-django-one-click-install-image-for-ubuntu-16-04) which can be seen through ip: 139.59.28.131 but when I try to see it using domain name which I attached with it. It is showing error 502 Bad Gateway. can someone tell me what could be the error
inchidi
in your settings.py check your allowed_domain value
inchidi
*uppercase
Tushar
so I have to make my domain name uppercase in allowed_domain
inchidi
no, i mean ALLOWED_HOST
Tushar
ok
inchidi
you can set it to ['*'] and see if its works