Omair
Hi guys I am trying to use django-cognito-jwt package which basically authenticates a user against the aws-cognito user pool database and then calls a custom get_or_create_user function which has not been implemented by default in the library so I am writing my own user manager
Omair
I wanted to ask if I should use custom user model extending Abstract base user to overwrite all the Default User function or should I Use the custom user model extending Abstract user class as the project I am doing has to be scaled and I also wanted to use the admin panel so what would be more reliable
Omair
I am using AWS cognito for oauth2
John
Why am I always getting the last record? Im not getting the record i click from the button. This is my views: def single_collect(request): if request.method == 'POST': pkid = request.POST.get('pk_id') anyone here has the same problem, btw, I'am using functional base view. .
Anonymous
Anyone have real-time pluggable chat system app in django.
Anonymous
??
Никита
I wrote an article about typing Django and DRF with stubs and custom mypy plugins that are shipped with django-stubs and djangorestframework-stubs. Check it out: https://sobolevn.me/2019/08/typechecking-django-and-drf
Jolivé
please how to use github api for getting insight ?
Doragonsureiyā
please how to use github api for getting insight ?
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Anonymous
Bro I'm new to Django where i need to refer?? to improve myself?
Anonymous
Is there any websites for learning django??
Anonymous
Bcas i wish to done project using django that's why I am asking???
Maksim
Check books
Anonymous
Which books bro
Ghorz
@izznogooood pls observe this and tell me what features you feel should be added. https://ghorz.com/appmaker/
Maksim
Which books bro
First, do you know Python?
Ghorz
I don't get it...
I created a django maker/generator
Ghorz
It works like this. User feed in project name, it uses the name to generate a project, configure the project with templates, media and static
Ghorz
I feel there should be more features like auto configure custom users and authentication system.
Anders (izzno / gooood) 🇳🇴
I still don't get it...
Ghorz
I still don't get it...
https://ghorz.com/appmaker/
Ghorz
Try it out
Anders (izzno / gooood) 🇳🇴
I'll have a look later.
Muflone
https://ghorz.com/appmaker/
Lol a django-admin shortcut?
Ghorz
Lol a django-admin shortcut?
Not really, there is so much work there, I integrated terminal to the app
Ghorz
The generator runs in an isolated terminal
Ghorz
If you check the generated settings.py you'll notice the time and date corresponds to the actual time you initiated the creap app button
Muflone
Sure, I mean for the user is just a mere shortcut for django-admin createproject
Ghorz
Sure, I mean for the user is just a mere shortcut for django-admin createproject
Yes, with basic configuration for static, media and templates files
Ghorz
Is there any feature you think I can add to it?
Muflone
At least a minimum of customization for media and static location
Muflone
Actually it's pretty pointless
Omair
Is there any feature you think I can add to it?
You can look into django-cookie-cutter
Dennoh
Actually it's pretty pointless
Stop discouraging ghorz
Muflone
Lol
Dennoh
Lol
😅 He took more than 5 hours doing that, show some appreciation
Muflone
Explain please
Describe your use case
Anonymous
First, do you know Python?
Mm ss bro basic python are prepared...
Anders (izzno / gooood) 🇳🇴
It's not useless...
Ghorz
Describe your use case
Lets say a beginner wants to see the basic structure of a python project and haven't installed the required software.
Anders (izzno / gooood) 🇳🇴
I want too see later.
Anders (izzno / gooood) 🇳🇴
I'm on my phone now, but I'm sure you learned alot from that!
Dennoh
@Ghorz can you make it open source?
Muflone
It's useful for ghorz, not for the end user I mean
Muflone
It will help him to learn, good job
Anders (izzno / gooood) 🇳🇴
Maybe I can learn something, he integrated a terminal? That's interesting
Ghorz
Yes.
I learnt to call Linux shell from my django project, use any terminal command in it. Transfer information from the os to the app, copy, shred
Dennoh
Muflone
😅 Just, cut the crap its awesome
LOL then have fun using it
Ghorz
@Ghorz can you make it open source?
Yes, once am done cleaning up the code. I will
Dennoh
Link to repo man?
And @Ghorz don't forget tag me I want to learn too
Ghorz
I learnt to call Linux shell from my django project, use any terminal command in it. Transfer information from the os to the app, copy, shred
It also widened my knowledge in data mining. e.g The below link is a library for mining data from twitter, Facebook, Google, etc but it's terminal app, I was able send query from django forms to the terminal and the result from terminal to django template,
Ghorz
https://www.clips.uantwerpen.be/pages/pattern-web
Anders (izzno / gooood) 🇳🇴
You can't create duplicate apps ;) I tried test because I was sure someone did...
Anders (izzno / gooood) 🇳🇴
You could add a bootstrap spinner while your software is working
Ghorz
Check the secret key, it's unique
Anders (izzno / gooood) 🇳🇴
I ment i wanted to create "test" your site gave me a "500"
Ghorz
You could add a bootstrap spinner while your software is working
I'm working on it, just to bad on JS. I'll figure it out
Anders (izzno / gooood) 🇳🇴
hint: add eventlistener to the button.
Ghorz
I ment i wanted to create "test" your site gave me a "500"
It's new, there will always be glitches until I properly clean the code
Anders (izzno / gooood) 🇳🇴
yes ;). I'm just telling you about them so you cant fix them ;).
Ghorz
Thanks to all the contributors
Anonymous
Anyone know making chat app using sockets in rest api
Anonymous
Any one can tell me how to restore bacpac file in SQL server on linux
Doragonsureiyā
Any one can tell me how to restore bacpac file in SQL server on linux
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Anders (izzno / gooood) 🇳🇴
@pyflare Is there an off-topic place you hang out ?
Anders (izzno / gooood) 🇳🇴
hah, then in this case have you tried Quasar with a DRE backend ?