Kamran
Kamran
https://github.com/devkamx/Academstar_backend?files=1
Kamran
two weeks as I learn , sorry 😐
Anders (izzno / gooood) 🇳🇴
I think you accidentally messed up your settings file.
Anders (izzno / gooood) 🇳🇴
Use a ide with a linter (like vscode)
Anders (izzno / gooood) 🇳🇴
And paste the full error somewhere
Ghorz
Missing os import
Syed Jafer
Use import os
Kamran
❤️
Software engineer
Guys can you share some books for django beginner
inchidi
Neo
Neo
do you have reference for intermediate or advanced
Neo
I already read most of the references pinned
.
Docteur MikeS, [08.01.19 08:27]
Good morning everybody. I need help in django. How to write the link bellow in static quotes please: css/5grid/init.js?use=mobile,desktop,1000px&mobileUI=1&mobileUI.theme=none&mobileUI_titleBarOverlaid=1&mobileUI_titleBarHeight=60&viewport_is1000px=1060&mobileUI_openerWidth=80. I tried the normal procedure but the function is not loaded. Please help me
.
Docteur MikeS, [08.01.19 08:28]
i ve tride {% static 'css/5grid/init.js?use=mobile,desktop,1000px&mobileUI=1&mobileUI.theme=none&mobileUI_titleBarOverlaid=1&mobileUI_titleBarHeight=60&viewport_is1000px=1060&mobileUI_openerWidth=80' %} but it is not working. Info: i ve load statics already
inchidi
Dmitry
Hello, guys! I have a question about installing apps:
Assume I have launched my pipenv install someapp, ran my pipenv shell, and started a django project.
Do I have to have my app folder already downloaded manually to run it, or it is “in the background” when I did pipenv install someapp?
If that didnt make sense, well, I am trying to run this
https://shuup.readthedocs.io/en/latest/howto/getting_started.html#requirements
Anonymous
is this about django?
Dmitry
is this about django?
Absolutely! This thing runs on Django. However, my question refers to Django apps overall
Anonymous
don't know the working behind the scenes.
Xyz
Xyz
It's the same reason you don't need to have django folder in your project directory before running
django-admin start-project **
Dmitry
Anonymous
@ddbelyaev by install app do you mean the app which is installed inside django projects?
Neo
Neo
Neo
Anonymous
inchidi
Anonymous
inchidi
but if you are looking for something you might dont know yet, try read articles for fullstack web instead specific django
inchidi
reading about "how things work" always better than "how to use it"
Ronald
Anonymous
Anonymous
Kaio
Hi guys! A little help here...
I'm trying to create a chart showing my user growth curve
So I got this query:
User.objects.annotate(day=TruncDay('date_joined')).values('day').annotate(users=Count('pk')).values('day', 'users')
The problem is that I'm getting the number of new users by day.. I'd like to get the total of users day after day...
😄
Kaio
I appreciate any help
Anonymous
can you add little more explanation like the working of your app..??
Kaio
counting the total number of users by day
Anonymous
cumulative sum per day or just the number of users joined per day???
Kaio
cumulative sum per day
Anonymous
so Now may i know what difficulty you are facing ??
Kaio
I don't know how to get the cumulative number.. only the number of users joined per day.. 😕
Anonymous
jus take the number of users , total number of users will be the cumulative number ..
Luis
Not sure, but using aggregate or annotate function may help
Dmitry
Luis
<QuerySet [{'joined': datetime.datetime(2018, 11, 1, 0, 0), 'count': 77}, {'joined': datetime.datetime(2018, 11, 2, 0, 0), 'count': 74}, '...(remaining elements truncated)...']>
Luis
Hope it helps!
Kaio
Thanks @LuchoUY
Luis
👍🏾
Lapanit ☃️
shall we ban the virus?
Luis
hahaha
Aminu Saminu Khamees
U think I'm robot?
Anonymous
We are sure u are robot
Anonymous
Please stop portscanning my ip
Anonymous
I have an old drupal on port 8081 you are fingerprinting for drupalgeddon
cj
Anonymous
Is a windows xp dont worry
Anonymous
@Lapanit is your image took from a tarot illustration? /ot
Anonymous
Seems one of the old italian tarot painting..
Anonymous
Lapanit ☃️
Lapanit ☃️
Aminu Saminu Khamees
Lapanit ☃️
:/
Aminu Saminu Khamees
Anonymous
Lol