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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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,
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
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
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
25 matches
Mail list logo