reign
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 we
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 sect
o channels).
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 discuss
annels). 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
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
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
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 11
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 webdevelop
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.
&
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
https://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
>
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
>
> https://www.health.harvard.edu/mind-and-mood/relaxation-techniques-breath-control-helps-quell-errant-stress-res
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,
>
eed 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 i
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
ent: 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 c
y
> 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 jus
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:http://127.0.0.1:8000/user-details
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 you
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
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:4
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
> "Dj
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 subscri
#x27;t 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
>>>
>>
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 01
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.
> T
@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 wrot
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
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 mes
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
>
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:
> h
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
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/'
> S
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 erro
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
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 u
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 fr
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 li
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 mongoen
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"
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 unsubscr
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 visi
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 djan
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
ails-using-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 connect
ed.
7. 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:
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
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 tha
ttings.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
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
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
-
ase 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,
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..
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
> public
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
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
>
> --
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
>
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 - th
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
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
>
rote:
>>
>>> 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 emai
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 t
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
://myaccount.google.com/apppasswords?pli=1&rapt=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, tha
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
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 m
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]
> Regards,
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:
>
> django.db.utils
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 migrati
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
> wr
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 comman
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 B.Tec
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 Shar
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 app
29 Nov 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
>&g
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
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
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 ap
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 erro
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:
> ['dj
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
> wrote:
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
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 a
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. Cre
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 g
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, 202
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 Kasper
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.
>
> - *SMTPAuthenticationErro
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/
> ind
gi replacing 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: djang
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, Koushik
ed 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 me
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 djan
93 matches
Mail list logo