ENOENT
#starterpack
Group Butler
#starterpack
New to Django? here is some resource to start
Official docs tutorial
Step by step tutorial
Video tutorial
Another video tutorial
Books
Django by Example
Tango With Django
Anonymous
Can anyone help me with ajax and login
Anonymous
And is it a bad idea to do it?
Anonymous
Abhi
What do you guys use for html to pdf conversion ?
ENOENT
Tushar
hello guys,
I want to make a attendence system for a school where every teacher use to give attendence to his 40 to 50 students. attendence is on the daily basis and the students are only having the access to see there own attendence not someone elses. can someone suggest me which kind of relationship will be used between teacher and student.(one-to-one, many-to-many, many-to-one)
Anonymous
One to many
Anonymous
Many to many*
Anonymous
Many teachers, Many students
Tushar
can you also suggest where the same kind of relationship is used
Tushar
in a live project
Anonymous
Anonymous
Haven't seen any project myself
Tushar
ok
ENOENT
Essa
Anonymous
What is the difference between :
"django-admin.py startproject mysite ."
vs
"django-admin.py startproject mysite"
Anonymous
Nothing
Davo
Anonymous
Oh, there is a dot
Essa
. In general means in this directory
Davo
that's what I thought :)
inchidi
And is it a bad idea to do it?
just realize you wanna do ajax login so you can show loading effect or something like that. i thought you wanna do it onChange
inchidi
Tushar
there is no attendence app till now
Tushar
can you help me with that
inchidi
if you wanna manage.py startapp attendence then i think atendence model should be there
inchidi
Tushar
by giving an example of a many to many relationship model of any project similar to my project
ENOENT
is it really that hard?
ENOENT
to think of things that have a many to many relationship?
inchidi
maybe you wanna add meeting time, lecturer (teacher), and location (classroom)
inchidi
inchidi
the input absence will be easier. just show all students from that teacher class. add checkbox button (with student id as value) maybe and for all checked input
Attendance(class=the_class, student=StudentProfile.object.get(id=checked_id)).save()
Anonymous
Front-end really important, when you are doing on a small device.
inchidi
hi all, for user email validator will you use ALLOWED_DOMAIN or RESTRICTED_DOMAIN?
technically i wanna refuse personal domain like admin@notafile.com but i have social auth too. so, should i ban some domain (i believe google will give me some list for this) or just allow gmail yahoo and some known domain?
Abhi
anyone used django social share ?
Tushar
no
Anonymous
Try go to django indonesian group
Anonymous
Have 600 members
inchidi
kek
inchidi
you dont know how to respect ppl dont you?
Group Butler
Mr. has been warned (1/3)
Anonymous
No i just try to help , if them not got info in this room, maybe will get it in another rooms...thinking
Anonymous
I want asking, for what, u made this room...?
inchidi
Anonymous
Anonymous
Up to you admin, im not promosing, im not a admin and have not a room, i just try help
Anonymous
The guy had good intention, just saying
Anonymous
But promoting other group is quite rude
Anonymous
it's not promoting, it's giving a clue,"try to go there, may be you'll find something, since you cant find something here,,"
inchidi
the problem is we doesnt even speak bahasa, no one ask for it too. but nvm, just let it go singing frozen ost
Django Bot
>> Blogs
- Building Web Apps with Django ,Webpack and React
- Building Apps with Create React App and Django
- Getting started with Django Rest Framework by Building a Simple Product Inv
- How to Customize Django Admin Application
Anonymous
Group Butler
Rules:
» Only English, avoid meta-question
» Be civil, respect other people of the group
» Off-topic is not allowed
» Don't spam messages/stickers/pictures/command
» No promotions for other groups/channels without proper permission of the staff
» Don't share NSFW content
» Use pastebin, github gist
» Don't add bot, send contact, location in group
Abhi
Abhi
oh wow
Abhi
can i get the code for the bot ?
inchidi
i wrote it in hurry so, i think its bad code
Abhi
what is the basic idea you implemented to do like this ' when there will be no conversation " ?
inchidi
currently the bot just simply check last message sent time
inchidi
my idea is checking if the last message in group is ["nice", "your welcome", "thanks"] or something like that
inchidi
but its not yet implemented
Abhi
great !
Abhi
@DimasInchidi have you purchased herko services ?
inchidi
Abhi
i heard that dynmos get shut down after some time , is it ?
inchidi
Abhi
then ?
Abhi
can you explain more ?
inchidi
am using polling to check the new feed from django rss
and using webhook to check new messages from this group