Re: JOB

2023-10-16 Thread Lakshyaraj Dash
://myaccount.google.com/apppasswords?pli=1=AEjHL4M-sR4H-WxWjoFuHLVeegmPk1YN9clDMakZkWlZFa-iXq_4I_MZQupz8IDvGVJZOEUK27iL_TvoOHiMuFYH4Ik8ZkgC-A Thanks and Regards Lakshyaraj Dash - Passionate python programmer & web dev enthusiast On Mon, Oct 16, 2023, 22:57 Adesewa Lola wrote: > Okay, thanks, Kasp

Chat app using django

2022-07-19 Thread Lakshyaraj Dash
). Thanks and regards Lakshyaraj Dash -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the

Re: Chat app using django

2022-07-20 Thread Lakshyaraj Dash
. But all the best to > you. > > On Wed, Jul 20, 2022 at 8:41 AM Lakshyaraj Dash < > dashlakshyaraj2...@gmail.com> wrote: > >> Hello guys! >> I'm having a discussion website in django with some sort of user >> authentication and I want to inject chat app with r

Re: Chat app using django

2022-07-20 Thread Lakshyaraj Dash
Great thanks Abdul. I can now easily build a chat app for my forum app. On Wed, Jul 20, 2022, 17:12 Abdul Qoyyuum wrote: > Please have a look at how Django channels implements the chat app. > https://github.com/narrowfail/django-channels-chat > > On Wed, Jul 20, 2022 at 7:23 PM Lak

Re: problem

2022-07-20 Thread Lakshyaraj Dash
Syntax will be messages.warning(req, 'some fields are empy') On Wed, Jul 20, 2022, 20:42 chaouch elhem wrote: > [image: image_2022-07-20_133032905.png] > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and

Re: problem

2022-07-21 Thread Lakshyaraj Dash
There's a info attr to messages but the the thing is in the syntax. He has another curve bracket inside his messages syntax On Thu, 21 Jul, 2022, 08:59 Abdul Qoyyuum, wrote: > Maybe print your "messages" and confirm if there's no "info" attribute or > method to it. > > On Wed, Jul 20, 2022 at

Re: create browser api

2022-07-13 Thread Lakshyaraj Dash
Follow the following playlist to have a complete idea on a blog app. This may be more than enough: Link : https://youtube.com/playlist?list=PLfH6LOk1xz2FB1RphEcKWWHIrNYxHFsJj On Wed, Jul 13, 2022, 19:31 Rushikesh Chavan wrote: > i want to create an api which will be used to maintain comment

Re: create browser api

2022-07-13 Thread Lakshyaraj Dash
keys and your custom templatetag filters you can do that. Thanks and regards Lakshyaraj Dash aka CodeWithLaksh On Wed, Jul 13, 2022, 19:31 Rushikesh Chavan wrote: > i want to create an api which will be used to maintain comment section of > websites. And it can be integrated to website

Re: Blog application with django

2022-07-26 Thread Lakshyaraj Dash
I can do the backend part. If you need bootstrap in frontend then tell me. But I can build a minimal version of the blog... On Tue, Jul 26, 2022, 21:03 MAHESH KUMAR wrote: > Hi all > >

Re: Blog application with django

2022-07-26 Thread Lakshyaraj Dash
://django-idiscuss-forums.herokuapp.com. Mail me personally at dashlakshyaraj2...@gmail.com Thanks and Regards Lakshyaraj Dash On Tue, Jul 26, 2022, 21:42 MAHESH KUMAR wrote: > i try to your number but iam not able to contact > > > On Tue, Jul 26, 2022 at 9:21 PM Ammar Mohammed > wrot

Re: Become Django member in WhatsApp group

2022-07-29 Thread Lakshyaraj Dash
Hey if you want to store your json as a django model data in the admin panel then follow the documentation link below. https://www.tutorialspoint.com/importing-data-into-models-in-django Thanks and Regards Lakshyaraj Dash On Fri, Jul 29, 2022, 04:26 Manpreet Kaur wrote: > Hello Dear, >

Re: problems with forms.py in django

2022-07-21 Thread Lakshyaraj Dash
gt; On Thu, 21 Jul, 2022, 11:13 pm Lakshyaraj Dash, < > dashlakshyaraj2...@gmail.com> wrote: > >> Please share your authentication code / your project's source code with >> me at >> dashlakshyaraj2...@gmail.com. I'll not share your code with anyone else. >> Trust m

Re: problems with forms.py in django

2022-07-21 Thread Lakshyaraj Dash
Please share your authentication code / your project's source code with me at dashlakshyaraj2...@gmail.com. I'll not share your code with anyone else. Trust me Thanks & Regards Lakshyaraj Dash On Thu, 21 Jul, 2022, 22:44 Mihir Patel, wrote: > i am using vscode for webdevelopment, i am

Re: Search option in website

2022-07-23 Thread Lakshyaraj Dash
Go for a search on geeksforgeeks like *How to get url parameters in javascript ?* On Sun, Jul 24, 2022, 07:13 Mahendra wrote: > I am not using models using only URLs is any ways to go like using Ajax or > JavaScript language please suggest me? > > On Sat, 23 Jul 2022, 22:11 Lak

Re: Web scraping using python

2022-08-26 Thread Lakshyaraj Dash
Hey you can follow this tutorial for having a basic knowledge of web scrapping using python. https://youtu.be/pF3KXOnxqr4 On Fri, Aug 26, 2022, 19:10 Favour Nwachukwu wrote: > How do I scrap innerhtml using python(beautifulsoup)? > > -- > You received this message because you are subscribed to

Re: Bad Request 400 in Django

2022-09-01 Thread Lakshyaraj Dash
What ??? It's September not july On Thu, Sep 1, 2022, 22:29 subin wrote: > I will look forward to meeting you on July 11 > > On Thu, Sep 1, 2022 at 4:14 PM Eric smith > wrote: > >> I have some issues in running django server. >> >> System check identified no issues (0 silenced). >> September

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
@rahul There no module for tutorial.quickstart in pypi Pip will throw error as not proper configuration was found against that package. On Fri, 2 Sep, 2022, 12:55 rahul sharma, wrote: > Ti install in terminal pip install totorial.quickstart > > > On Fri, Sep 2, 2022, 12:57 rahul sharma

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
The main problem is that you have every folder named as tutorial so it's throwing errors. On Fri, 2 Sep, 2022, 12:51 Pooja Kumari, wrote: > Hello team, > please help me with this error. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
She has views inside tutorials then quickstart. She has named every folder as tutorial. She needs to rename some folders On Sat, 3 Sep, 2022, 18:41 Vj Vijay, wrote: > It should be from tutorial import views > > On Fri, Sep 2, 2022, 12:51 PM Pooja Kumari > wrote: > >> Hello team, >> please help

Re: Static file - java script - not found

2022-09-07 Thread Lakshyaraj Dash
Listen you need to configure your sales app inside the installed apps like 'sales.apps.SalesConfig' and remove the line 'BASE_DIR / sales / static' from the STATIFILES_DIRS. Thanks and regards Lakshyaraj Dash On Thu, Sep 8, 2022, 02:49 bodyabd...@gmail.com wrote: > Dear All; > I've p

Re: Static file - java script - not found

2022-09-07 Thread Lakshyaraj Dash
His configurations are correct os module is not compulsory... because the BASE_DIR is already configured... On Thu, Sep 8, 2022, 04:51 Ezekiel Obiajulu wrote: > There is an error in staticfiles_dirs > Message me on WhatsApp for further corrections ... > Use that code > STATIC_URL = 'static/' >

Re: ModuleNotFoundError: No module named 'tutorial.quickstart'

2022-09-03 Thread Lakshyaraj Dash
How ??? The views is inside quickstart folder On Sun, Sep 4, 2022, 00:21 Danish Nagori wrote: > Hello > I think you try this > from tutorial import views > > On Fri, 2 Sep 2022, 12:21 pm Pooja Kumari, > wrote: > >> Hello team, >> please help me with this error. >> >> -- >> You received this

Re: Mobile App

2022-09-04 Thread Lakshyaraj Dash
You can build api with your same django code and implement any one of the following three options in the client side 1. Flutter 2. Dart 3. React-native On Mon, Sep 5, 2022, 03:04 Peter Kirieny wrote: > Hello team Django, I have a fully functioning website > how can I easily turn it into a mob >

Re: Mobile App

2022-09-04 Thread Lakshyaraj Dash
Yes it's also a better idea to have a service worker on your website to instruct chrome for suggesting the installation of your website as an app... But it's a little bit complicated process. On Mon, Sep 5, 2022, 04:29 carlos wrote: > maybe convert your site in pwa with this third party app: >

Re: How to use same Models for all apps?

2022-08-27 Thread Lakshyaraj Dash
Ya sure you can use the same models throughout your project. If you're i a different app then import statement will be like from appName.models import tableName else if you're in the same app from .models import tableName Thanks and Regards Lakshyaraj Dash On Sun, Aug 28, 2022, 04:48 Javier L

User authentication with simple-jwt drf

2022-08-24 Thread Lakshyaraj Dash
Hello everyone, I want to create a user authentication app using ReactJS and django. But facing problems in authenticating with the jsonwebtokens in ReactJS. Can anybody provide correct guide of implementing DjangoRestFramework simple-jwt and ReactJS jet ? -- You received this message because

Re: django fetch files

2022-08-28 Thread Lakshyaraj Dash
See if the file field's name in your model matches with f.file.name. Ex The name is myfile, so it's f.myfile.name On Sun, Aug 28, 2022, 23:17 Hind Djebbar wrote: > can anyone helps me please it does not work > > -- > You received this message because you are subscribed to the Google Groups >

Re: django fetch files

2022-08-28 Thread Lakshyaraj Dash
If you don't get it you can share the code with met at dashlakshyaraj2...@gmail.com . Thanks and regards Lakshyaraj Dash On Sun, Aug 28, 2022, 23:17 Hind Djebbar wrote: > can anyone helps me please it does not work > > -- > You received this message because you are subscribed t

Re: django fetch files

2022-08-28 Thread Lakshyaraj Dash
get it you can share the code with met at >> dashlaksh...@gmail.com . >> >> Thanks and regards >> Lakshyaraj Dash >> >> On Sun, Aug 28, 2022, 23:17 Hind Djebbar wrote: >> >>> can anyone helps me please it does not work >>> >>> -- &g

Create timer to permanently delete user's account

2022-10-17 Thread Lakshyaraj Dash
out this in django. Thanks and regards Lakshyaraj Dash -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view th

Filter questions with dates

2022-10-25 Thread Lakshyaraj Dash
I'm having a forums project in which I want to add a date filter for questions like when a user clicks on a specific date the questions related to the date will be filter like 24 Dec 2021 will show 24122022... -- You received this message because you are subscribed to the Google Groups "Django

Re: secret api keys

2022-10-26 Thread Lakshyaraj Dash
No one can see your secret keys. It's a far thought, no can can see on what language you server side is written in. On Wed, Oct 26, 2022, 20:39 john fabiani wrote: > Hi, > > Maybe a dumb question but if I add secret keys in my settings.py file > (or should it be placed) will they be protected

Re: how to connect mongodb in my project,

2022-10-26 Thread Lakshyaraj Dash
I would prefer postgresql more thn mongodb because it's easier to use postgresql if you have a little knowledge of SQL commands and on the other hand you need json objects to deal with mongodb. Leaving all of the above content, there's a package called djongo you can use. But it has many issues

Re: how to connect mongodb in my project,

2022-10-26 Thread Lakshyaraj Dash
Postgresql is similar to MySQL (phpMyAdmin) database with some more advanced features. On Wed, Oct 26, 2022, 20:43 pythoon r wrote: > please help me,i've one requirement (project) django with mongodb.how to > connect mongo to django .i was tried some method i cant connect > how to config

Add browser notifications for website

2022-10-29 Thread Lakshyaraj Dash
I've a blogging website and I want that those who have taken the subscription of my website by clicking on allow notifications should get a notification whenever a new blog is posted through the browser. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django app deployment on Heroku

2022-09-18 Thread Lakshyaraj Dash
Why do you want to deploy on heroku ??? If you've the premium subscription, you can use it or else use railway or render to deploy app. On Fri, Sep 16, 2022, 15:00 Wilford Chidawanyika wrote: > Good day. > > l need help on how to deploy my django project on Heroku > > l am getting the below

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
You can add fields to the default django user model by using the AbstractUser class from django.contrib.auth.models, you can't change the default fields. Rather you'll need to write your custom user model containing OTP and mobile number instead of username or password. On Fri, Aug 5, 2022, 19:29

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
you can learn python & django from core. > * Daily Python Assignment exercise. > > On Fri, Aug 5, 2022 at 7:48 PM Lakshyaraj Dash < > dashlakshyaraj2...@gmail.com> wrote: > >> You can add fields to the default django user model by using the >> AbstractUser class

Re: Help to implement custome user login

2022-08-05 Thread Lakshyaraj Dash
; Lakshyaraj as you need. > > I have already done this multiple time. > > Thanks > Bhoopesh Sisoudiya > > > On Fri, 5 Aug, 2022, 9:36 pm Lakshyaraj Dash, < > dashlakshyaraj2...@gmail.com> wrote: > >> Hey you... Instead of helping that guy, you're just cr

Re: dlango MultiValueDictKeyError

2022-08-10 Thread Lakshyaraj Dash
You may have missed the name attribute in your form input On Wed, Aug 10, 2022, 19:18 Benji Zachariah wrote: > I am getting an below error in module GET and POST > > MultiValueDictKeyError at /user-details > > 'Name' > > Request Method:GET > Request URL:

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-07-31 Thread Lakshyaraj Dash
a package called django-cors-headers. You can also use drf with django if you don't have any js frameworks in the client side. In this case you don't need a cors headers package. Thanks and Regards Lakshyaraj Dash On Sun, Jul 31, 2022, 19:53 Joseph Bashorun wrote: > > I am stuck in a loop of con

Deploy django app on railway

2022-10-31 Thread Lakshyaraj Dash
I'm having troubles in using django app on railway ie after deployment I get csrf token validation error even if my forms are protected with csrf tokens. Please anyone fix this problem. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: ALLOWED_HOSTS error

2022-11-21 Thread Lakshyaraj Dash
Put only domain names in allowed hosts On Tue, Nov 22, 2022, 06:22 Mike Dewhirst wrote: > My Django log is full of these errors ... > > ERROR > /usr/local/lib/python3.10/dist-packages/django/core/handlers/exception.py > TIME: 2022-09-28 00:13:17,204 MSG: exception.py:response_for_exception:99 >

Re: ALLOWED_HOSTS error

2022-11-21 Thread Lakshyaraj Dash
No, Actually some ip addresses don't allow access to them directly. So you have to do it with a domain name. On Tue, Nov 22, 2022, 06:41 Mike Dewhirst wrote: > On 22/11/2022 11:54 am, Lakshyaraj Dash wrote: > > Put only domain names in allowed hosts > > > Thank you - that ma

Re: Quiz app

2022-11-16 Thread Lakshyaraj Dash
Please tell which category has more than 5 questions. On Wed, 16 Nov, 2022, 20:00 Bhuvnesh Sharma, wrote: > Maybe the category you are sending request to contains only one matching > question in db? > > On Wed, Nov 16, 2022, 7:30 PM Lakshyaraj Dash < > dashlakshyaraj2..

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Lakshyaraj Dash
Provide is_private to the rooms model of your app. If you make the default as true, then the room is private by default and vice versa On Sun, Nov 20, 2022, 20:21 Chukwudi Onwusa wrote: > Greetings and good tidings! > Please how do I create with django the above mail subject(private and >

Re: Public and Private Chat Room Creation with Django Python Framework

2022-11-20 Thread Lakshyaraj Dash
ple. > Please. > > On Sun, Nov 20, 2022, 15:53 Lakshyaraj Dash > wrote: > >> Provide is_private to the rooms model of your app. >> If you make the default as true, then the room is private by default and >> vice versa >> >> On Sun, Nov 20, 2022, 20:21 Ch

Re: Quiz app

2022-11-16 Thread Lakshyaraj Dash
tabase entity with this id. When you need 5 then get list of random 5 ids >> in this range and get all from database. >> >> Then yoz render it back. >> >> Write if yoz have Problems in implementation >> >> Lakshyaraj Dash schrieb am Mi., 16. Nov. >> 2022,

Quiz app

2022-11-15 Thread Lakshyaraj Dash
Hello everyone, I'm on my way to create a quiz app. I want that a loggedin user should get 5 questions randomly when he/she is visiting everytime. Eg: On first visit Q1. Who's the CEO of Facebook ? On second visit Q2. Who's the CEO of Google ? Thanks and regards Lakshyaraj Dash -- You received

Re: i got error 'type' object is not subscriptable

2022-11-21 Thread Lakshyaraj Dash
Try onetomany relationship On Thu, Nov 17, 2022, 19:51 Sagar Singh wrote: > i created three model relation table > > onetoone() > manytoone(foreignkey) > manytomanyfield() > > i try to show data of manytpmany field on admin panel but they give error > > 'type' object is not subscriptable > > --

Using django 4.1 code in django 3.2

2022-11-03 Thread Lakshyaraj Dash
Is there any problem if I deploy my django app written with django 4.1 in django 3.2 on render ? Please help -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Static files is not loading while deploying the project to AWS ec2

2022-11-05 Thread Lakshyaraj Dash
You can use sebuckets to store your static files... On Sat, Nov 5, 2022, 13:04 Nishant Sagar wrote: > Hi all, > > I deployed the django project to AWS ec2 instance using nginx and gunicorn > but the static file is not loading at all. > > Can someone suggest where did I do wrong? > > Note - I've

Re: Page Integration

2022-11-10 Thread Lakshyaraj Dash
Please see that if you're calling the .save() method or not On Thu, Nov 10, 2022, 21:02 Pooja Kumari wrote: > Hi.. Can anyone help me with django templates? Actually I have a > registration page where user can signup and data will be saved in admin > panel or database but I am not able to do

Re: Email Sending In Django not working

2022-11-09 Thread Lakshyaraj Dash
-python-django--8c3 Follow up and hope the article helps you Thanks and Regards Lakshyaraj Dash On Wed, Nov 9, 2022 at 4:25 PM peteru mimo wrote: > Good day team, > > I have been facing this challenge in sending mail in django > > here is the error *"A connection at

Re: Email Sending In Django not working

2022-11-09 Thread Lakshyaraj Dash
. Go to your settings.py file and replace your actual email password with the generated app password. Yay! You're all set. Dear It's Alladin, please try this also to the one who asked this question please try it once. Thanks and Regards Lakshyaraj Dash On Wed, Nov 9, 2022, 20:57 It's Aladdin

Re: STATIC FILE

2022-11-09 Thread Lakshyaraj Dash
Set the STATIC_ROOT conf as follows import os # ignore if once imported STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') Also see of you've allowed that particular host. Thanks and Regards Lakshyaraj Dash On Wed, Nov 9, 2022, 20:57 Mh Raffi wrote: > Hi, > I run cmd to collect static

Re: Email Sending In Django not working

2022-11-14 Thread Lakshyaraj Dash
file and replace your actual email password >> with the generated app password. >> >> Yay! You're all set. >> >> Dear It's Alladin, please try this also to the one who asked this >> question please try it once. >> >> Thanks and Regards >> La

Re: Email Sending In Django not working

2022-11-14 Thread Lakshyaraj Dash
The app name can be any name On Mon, Nov 14, 2022, 18:11 peterumimo2 wrote: > I have watched the video please the app name must be any name or your > project name > > > > Sent from my Samsung Galaxy smartphone. > > Original message ---- > From: Lakshyar

Support of django 3.2

2022-11-01 Thread Lakshyaraj Dash
Is django 3.2 still supported? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Lakshyaraj Dash
Bro please send in pdf format so that it will be possible to open in mobile On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: > Hi django developer group. > > I'm from india. I got one django assignment from xyz comapny. But i can't > how to create that logical way. Please help me. Below file is

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Lakshyaraj Dash
I can create the backend properly and for frontend I can use tailwindcss. If it's ok then contact me further on dashlakshyaraj2...@gmail.com Thanks and regards Lakshyaraj Dash On Mon, Jun 5, 2023, 22:49 AKHIL KORE wrote: > ok i can make it pdf format > > On Mon, 5 Jun 2023 at 22:45

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
Bro if so then check the email address with which you created your app password and the email address used by your application. Thanks and regards Lakshyaraj Dash On Wed, May 17, 2023, 19:35 Chelsea Fan wrote: > I deleted all passwords and thhen created new password but nothig was >

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
> >>> I deleted all passwords and thhen created new password but nothig was >>> happen >>> >>> On Wed, May 17, 2023 at 6:54 PM Lakshyaraj Dash < >>> dashlakshyaraj2...@gmail.com> wrote: >>> >>>> First verify if the email through

Re: django smtp.gmail error

2023-05-17 Thread Lakshyaraj Dash
First verify if the email through which the app password was created is same or different. If different then it will not work. OR Please recreate a new app and copy the password again and enter. Thanks and Regards Lakshyaraj Dash On Wed, May 17, 2023, 19:17 Chelsea Fan wrote: > how can I so

Re: Can you help me sharing link documentation to learn django ?

2021-08-28 Thread Lakshyaraj Dash X-D 25
The official documentation is the best one :- https://docs.djangoproject.com/en/3.2/ Any other help then please send it to dashlakshyaraj2...@gmail.com On Sat, 28 Aug 2021, 06:36 Thuan Nguyen Thi Bích, wrote: > Hi everyone > I'm not a developer. I'm a member of team Product. > I want to use

Re: django datatable

2021-10-20 Thread Lakshyaraj Dash X-D 25
You can use tailwind css, material ui, bootstrap or if you want to use custom css, just inspect the element and target the id of the element and add custom css. On Wed, Oct 20, 2021, 11:26 Eugene TUYIZERE wrote: > Please suggest a good CSS for the datatable below > [image: image.png] >

Re: django.db.utils.OperationalError: no such table abc

2021-10-20 Thread Lakshyaraj Dash X-D 25
It will happen if you have deleted the initial migration or check your settings properly. On Thu, Oct 21, 2021, 04:21 Ammon Quackenbush wrote: > I am working on a django project and I am getting this error when I > attempt to run the "python manage.py makemigrations" command: > >

Re: django.db.utils.OperationalError: no such table abc

2021-10-21 Thread Lakshyaraj Dash X-D 25
Just search for it in the recycle bin , if you have not permanently deleted the migration, else give me the code in my personal gmail dashlakshyaraj2...@gmail.com and I will correct it. On Fri, Oct 22, 2021, 01:38 Ammon Quackenbush wrote: > I think you are right. I did delete the initial

Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Do one thing... In the templates inside {% static 'css/style.css' %} make it {% static 'prsquare/css/style.css' %} On Wed, 20 Oct, 2021, 2:45 pm Planet X, wrote: > I can not connect to my static files here i am sending my screen shoot of > the setting and others links to the my base.html whats

Re: HELP ME OUT

2021-10-20 Thread Lakshyaraj Dash X-D 25
Change the assets to static On Wed, 20 Oct, 2021, 2:45 pm Planet X, wrote: > I can not connect to my static files here i am sending my screen shoot of > the setting and others links to the my base.html whats my fault please do > help > > -- > You received this message because you are subscribed

Re: django.db.utils.OperationalError: no such table abc

2021-10-22 Thread Lakshyaraj Dash X-D 25
Bro, you will need the initial migration in order to make another migration. On Fri, Oct 22, 2021, 18:37 MR INDIA wrote: > > After deleting the migration to make it again just Try Running the > makemigrations command. > On Friday, 22 October 2021 at 06:58:12 UTC+5:30 dashlaksh...@gmail.com >

Re: Where to deploy django application

2021-11-29 Thread Lakshyaraj Dash X-D 25
It's advisable that don't directly deploy it from GitHub as your secret key will be public to the GitHub community. On Mon, Nov 29, 2021, 14:19 Eugene TUYIZERE wrote: > Dear Team, > > This is just for advice. > > I would like to know any other hosting provider that uses GitHub to update > the

Re: Where to deploy django application

2021-11-29 Thread Lakshyaraj Dash X-D 25
Was the documentation helpful ? You can prefer this django playlist also : https://youtube.com/playlist?list=PLK8cqdr55Tsv-D2HMdrnD32oOVBNvmxjr On Mon, Nov 29, 2021, 15:05 Lakshyaraj Dash X-D 25 < dashlakshyaraj2...@gmail.com> wrote: > Here's the official documentation : > https://aw

Re: Where to deploy django application

2021-11-29 Thread Lakshyaraj Dash X-D 25
You can try out digital ocean or Amazon AWS. But digital ocean is cheap if you want to start, you can start at $5. On Mon, Nov 29, 2021, 14:19 Eugene TUYIZERE wrote: > Dear Team, > > This is just for advice. > > I would like to know any other hosting provider that uses GitHub to update > the

Re: Where to deploy django application

2021-11-29 Thread Lakshyaraj Dash X-D 25
v 2021 at 11:05, Lakshyaraj Dash X-D 25 < > dashlakshyaraj2...@gmail.com> wrote: > >> You can try out digital ocean or Amazon AWS. But digital ocean is cheap >> if you want to start, you can start at $5. >> >> On Mon, Nov 29, 2021, 14:19 Eugene TUYIZERE >> wr

Re: Developing django apps in jupyter

2021-11-29 Thread Lakshyaraj Dash X-D 25
I use visual studio code and pycharm both ides On Mon, Nov 29, 2021, 18:52 'MH' via Django users < django-users@googlegroups.com> wrote: > Hi everyone > > I have built a few django apps, but on a very basic level and only for my > own usage. Little helpers for self management. So far I just used

Re: help

2021-10-25 Thread Lakshyaraj Dash X-D 25
First do one thing that try uninstalling django. If it doesn't work, then run python -m pip install django On Tue, Oct 26, 2021, 01:29 Planet X wrote: > hey there i can not figure out while django is installed to but its > showing django-admin is not recongnized as an internal or external

Re: facing problems while deploying the project some error with static files

2021-10-27 Thread Lakshyaraj Dash X-D 25
Just do one thing, write STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') in settings.py. Ok. This will definitely solve your problem. I've an experience of deploying my django projects. If any problems then message me at dashlakshyaraj2...@gmail.com. On Wed, Oct 27, 2021, 18:34 'Mr. Aryan

Re: facing problems while deploying the project some error with static files

2021-10-27 Thread Lakshyaraj Dash X-D 25
Just do one thing, write STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles'). Ok. This will definitely solve your problem. I've an experience of deploying my django projects. If any problems then message me at dashlakshyaraj2...@gmail.com. On Wed, Oct 27, 2021, 18:34 'Mr. Aryan Sharma 4-Year

Re: static files not getting served

2021-12-05 Thread Lakshyaraj Dash X-D 25
Inside settings.py, Write these two lines of code and your static files will be served import os STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') On Sun, Dec 5, 2021, 18:49 Rahul wrote: > see brother i am not shouting at all . i am using heroku for deployment > and i didnt got any big

Re: How to resolve this error? can anyone please help me?

2022-01-13 Thread Lakshyaraj Dash X-D 25
Please share me your code privately so that I can solve your proy as soon as possible. On Thu, Jan 13, 2022, 20:16 sharath p wrote: > > Environment: > > > Request Method: GET > Request URL: http://127.0.0.1:8000/ > > Django Version: 4.0.1 > Python Version: 3.10.1 > Installed Applications: >

Re: Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-02 Thread Lakshyaraj Dash X-D 25
Use only the mysqlclient package to populate your admin site with MySQL database. You can watch this tutorial also : https://youtu.be/SNyCV8vOr-g On Thu, Feb 3, 2022, 06:19 Richard Mayebo wrote: > Platform: Observed on Ubuntu 20.04 > > >1. Install MySQL (Observed on 5.7 and 8.0) >2.

Re: Static files not found

2022-02-03 Thread Lakshyaraj Dash X-D 25
Please add this line below static_url STATICFILES_DIRS = [ 'static' ] On Thu, Feb 3, 2022, 20:53 Serge Alard wrote: > Hello > > I developped a project in Django python that works fine. Thus, I deployed > my project. Everything works but the static files are not found by the > application. > I

Re: Static files not found

2022-02-03 Thread Lakshyaraj Dash X-D 25
Ok! Actually I had not looked properly to your file. The line that I had given was already in STATIC_ROOT. If you have debug=False, then you can run something like this : python manage.py runserver --insecure It will serve your static files while the debug mode is set to false. On Thu, Feb 3,

Re: How to send data from views.py to index.html

2022-01-21 Thread Lakshyaraj Dash X-D 25
You can send the data through a dictionary or you can use json response and fetch the json response through javascript. On Fri, Jan 21, 2022, 20:35 Kabir wrote: > How to we use views.py to send data to index.html? > > On Thursday, January 20, 2022 at 11:59:17 AM UTC+5:30 Leo guitar girl >

Re: django module not found

2022-01-24 Thread Lakshyaraj Dash X-D 25
If you're using virtual environment then try creating a new virtual environment and install django again in your virtual environment. On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I am new and just started to learn Django. I

Re: django module not found

2022-01-24 Thread Lakshyaraj Dash X-D 25
Try restarting your code editor or reinstall python. On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello, > > I am new and just started to learn Django. I am attempting to create my > first application and ofcourse progress to a website

Re: How to allow user only update who belong to that post ?

2022-04-07 Thread Lakshyaraj Dash X-D 25
Just try out the lines below if request.user.is_authenticated: user = request.user if (post.author.username == user): # your code here else: # show yor error that you cannot edit other user's post else: return redirect ("/") On Thu, Apr 7, 2022, 23:14

Re: SMTP Authentification error

2022-04-27 Thread Lakshyaraj Dash X-D 25
Check whether you have turned on less secure apps or not. On Wed, Apr 27, 2022, 11:07 'Delvin Alexander' via Django users < django-users@googlegroups.com> wrote: > Hello everyone, > > May you please assist in informing me on what i need to do to resolve this > issue. > > -

Re: How can I work around the Django 3.2.10 cve release

2022-05-21 Thread Lakshyaraj Dash XI-D 25
placing wsgi. > > I want more unit test coverage before upgrading. > > Cheers > > Mike > > -- > (Unsigned mail from my phone) > > > > ---- Original message > From: Lakshyaraj Dash XI-D 25 > Date: 21/5/22 18:02 (GMT+10:00) > To: django

Re: How can I work around the Django 3.2.10 cve release

2022-05-21 Thread Lakshyaraj Dash XI-D 25
Hey why don't you use django v4 for your projects? On Fri, 20 May, 2022, 08:43 Mike Dewhirst, wrote: > My billing (Stripe) mechanism is working right up until Django 3.2.9 - > which is where I'm stumped at the moment. > > Django 3.2.10 https://docs.djangoproject.com/en/3.2/releases/3.2.10/ >

Re: Django could not parse the remainder

2022-06-23 Thread Lakshyaraj Dash XI-D 25
You can have a template filter that can parse your dictionary. On Thu, Jun 23, 2022, 19:14 Ryan Nowakowski wrote: > > https://stackoverflow.com/questions/8252387/how-do-i-access-dictionary-keys-that-contain-hyphens-from-within-a-django-templa > > On Mon, Jun 20, 2022 at 07:52:46AM -0700,

Fetch email from google

2022-07-07 Thread Lakshyaraj Dash XI-D 25
in the django model. Like my google username is CodeWithLaksh and the django username is rohan123, I want to display rohan123 instead of CodeWithLaksh. Hopr you all understand my problem. Please provide my a solution (*if any). Thanks and Regards Lakshyaraj Dash -- You received this message