If you have quite of experience in Java, then go for it and use Spring.
Django is a great framework and I use it myself in a day to day base, but
if you want to get the job done and finish your project with the experince
you already have then Django isn't the right choice.
On Sat, 30 Apr 2022, 8:
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
.
>>>
>>> *WSGI*
>>> import os
>>>
>>> from django.core.wsgi import get_wsgi_application
>>>
>>> os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Web_bridge.settings')
>>>
>>> application = get_wsgi_a
et_wsgi_application()
>
> *SETTINGS*
> import os
> from pathlib import Path
>
> os.environ['ENV'] = 'PRODUCTION'
>
> BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
>
> DEBUG = False
> SECRET_KEY =
> 'django-insecure-eqlug^3e2
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
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 command please
help
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
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
hey this is my code
On Wed, Oct 20, 2021 at 11:09 PM Lakshyaraj Dash X-D 25 <
dashlakshyaraj2...@gmail.com> wrote:
> 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
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
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
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 to the Google Groups
"Django users" group.
To unsubscribe from this group and stop re
Hey there all all you Mind-blowing people
i am new in django i am trying to set my view and urls of app and project i
tried lots of time it showing errors please help me out to do i want to
learn with the help of your
On Tuesday, October 19, 2021 at 2:31:53 PM UTC+5:30 ram.mu...@gmail.com
wrot
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
Dear Django-users@googlegroups.com,
Hii this is Mr.Xoffencer, I am a Python Django Developer and also a
certified Cyber security researcher. I am working as a Python programmer
since 3 years and developed many projects for my international clients and
one this that help me alot in my journey as a p
*Important announcement:*
*In the month of July, I have my birthday, so for the occasion of my
birthday, I am launching an event. In this event, if any visitor of my
website follows the following steps will get a secret Road map to get
placed in any IT COMPANY. If any student follows this road map
Are you running your manage.py runserver command in right directory
On Fri, 26 Mar 2021, 19:06 Sangbom Suhk, wrote:
> Hi guyes!
>
> Now I'm trying to install django framework and make python-based web. For
> this purpose, I installed apache2, python3.8.5 and libapache2-mod-wsgi-py3,
> and set a
Hey can anybody help me to Deploy Django Project on Aws.
--
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
You can search on YouTube for django tutorials.
Some of which are
Django by code with harry - In Hindi Language
Django by code with harry - In English Language
On Wed, 17 Mar 2021, 20:57 Mahmood Ahmad, wrote:
> Hello Ryan,
>
> You are right. I sound as if I am only looking for tutorials.
>
> Ind
Show your model.py
On Wed, 3 Mar 2021, 19:41 kolo1, wrote:
> Hey
> I've made some project with couples apps and now I'd like to manage by
> admin site but when I try to open localhost:8000/admin I get error
> """
> TypeError at /admin/'tuple' object is not a mappingRequest Method:
> GETRequest U
Bro show me your file structure.
On Sun, 28 Feb 2021, 02:56 Kasper Laudrup, wrote:
> On 27/02/2021 12.19, Mayursinh Raulji wrote:
> >i have download template from google and try to load in Django with
> > static file but in browser not show properly. show only half template
> > but In my
why are you using
*from hello.views import index*
instead of
*from . import views*
On Mon, Jan 4, 2021 at 6:54 PM Gasar Iyali wrote:
> Hi
> Please I need your help.
> I have just installed django and when I try to run django I get this error
> message and nothing comes up in my browser.
> This
if you face small companies or startups , maybe Node js will be good to get
the job. but speaking of Django or python project development , I would
like to recommend big companies.
On Sun, Dec 13, 2020 at 9:16 AM Dhruvil Shah wrote:
> I am currently confused that Django has Future or not. Becau
I believe you are searching for queryset and SQL limits, if so take a look
at
https://docs.djangoproject.com/en/2.2/topics/db/queries/#limiting-querysets
On Fri, Sep 18, 2020 at 7:00 PM אורי wrote:
> Hi,
>
> I have a code with a query:
>
> qs = User.objects.active(
> gender__in=user.speedy_m
Make sure you have sqlite installed on your Windows machine.
You can install it from the link below:
https://www.sqlite.org/download.html
On Mon, Jun 22, 2020 at 5:11 PM Franz Ulenaers wrote:
> please install sqlite3
>
> Op maandag 22 juni 2020 16:17:54 UTC+2 schreef NAVEEN RS:
>
>> [image: Scr
I'm using a Linux distribution called manjaro and mysql has been replaced
with mariabd in the official repository. When I use maridb as database,
what is the difference with mysql? Is there something special that I should
pay attention to?
--
You received this message because you are subscribe
he code details:
nbsp.py:
from django import template
from django.utils.safestring import mark_safe
register = template.Library()
@register.filter()
def nbsp(value):
return mark_safe(" ".join(value.split(' ')))
html:
{% load nbsp %}
{% for x in data %}
{{ x | nbsp
Hi,
Thanks for the reply.
I donno how to connect to manage.py from host server since Django code is not
placed in that host. Hosting server is connecting to code through wsgi.
Please let me know if you know how to connect then I will try and check.
Regards,
Anjali
[banner7]
Anjali Mk
Enginee
r installing the miniconda distribution of python that is used
> in the scientific computing community. Assuming you are on a linux server,
> you can do this with
>
> wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh
> chmod +x ./Miniconda-latest-Linux-x86_64.sh
&g
hello hello,
finally i was able to install a python instance on my shared-server.
it was also impossible to pip-install django. yeah.
but right then - so close already - i got a permission problem again.
i couldn't figure out exactly what django-admin.py wants to do/execute and why
it's
not
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or
'oracle'.
Not 'django.db.backends.sqlite3' but 'sqlite3'.
On 5 Kwi, 21:28, "J. Cliff Dyer" wrote:
> You might be overriding the DATABASES setting later on in your settings
> file, or you might not be accessing the settings file yo
I needed to build a form where the user can input a geographical
location, with fields for country, state, city, neighborhood. I
wanted the form to use AJAX, so that the only valid fields would
appear as the user selected fields higher in the hierarchy.
It sounded like a task that should be easy
On Fri, May 21, 2010 at 11:40 AM, Juan Hernandez wrote:
> why don't we talk about our lives in this lists?
> PLEASE!
> Tis is a technical list... use djangogigs instead!!!
Job postings are perfectly relevant for django-users. (Although
follow-up replies to job postings should be handled via
The Onion is looking for a front-end web developer to join our web
technology team; the position is based in our Chicago office.
We're looking for someone who:
- is a religious fanatic about semantic markup and clean styling.
- is comfortable working with templating languages. (In our case, you
On Wed, Apr 14, 2010 at 1:17 PM, Shawn Milochik wrote:
> The instructions on the site are incorrect. You only use django-admin.py to
> create the project. After that you use manage.py for everything else --
> including syncdb.
You *can* use django-admin.py as long as you make sure
DJANGO_SETTIN
On Sun, Apr 11, 2010 at 12:45 PM, vishwanath b wrote:
> as i searched the net a lot django+IPC but i
> couldnt get any code
This is your problem; stop searching for *Django* and start searching
for *Python*. The programming language is Python, not Django.
--
You received this message becau
On Fri, Apr 9, 2010 at 4:54 PM, Joakim Hove wrote:
> I have never really got very friendly with exceptions, I tend to
> consider them as something exceptional which "should not" happen,
> whereas the fact that the database does not contain a particular key
> is in my opinion something quite ordina
On Fri, Apr 9, 2010 at 2:48 PM, Ramiro Morales wrote:
> On Fri, Apr 9, 2010 at 3:20 PM, Tom X. Tobin wrote:
>>
>> This reminds me that we need to open-source our time zone code. We
>> track entertainment events across several time zones, and Django's
>> standard
On Fri, Apr 9, 2010 at 1:05 PM, Paweł Roman wrote:
> I've noticed that django always fetches 'naive' datetimes from the
> database. Tzinfo property on a datetime object is always set to null,
> even if the database stores a value WITH a timezone.
>
> This is a bit tedious because such datetime can
On Fri, Mar 26, 2010 at 5:45 PM, Phlip wrote:
> os.environ['DJANGO_SETTINGS_MODULE'] = 'dev2_settings' # TODO look
> up which one
My local copy actually has the following code in it:
import os
import re
import sys
m = re.search(r'^([a-zA-Z0-9_]+)-shell$', os.path.basenam
On Fri, Mar 26, 2010 at 4:47 PM, Phlip wrote:
> I am in anguish over watching my colleagues fire up python manage.py
> shell...
>
> ...and then typing several incredibly long import lines before
> actually getting anything done.
>
> These same colleagues also seem to have itchy ^C fingers, meaning
e to the url
> e.g. output:
> url(r'^graph_example/(?P\d+)/(?P\w+)/$')
>
> and then a view:
>
> def myview(request, id, output):
> if output == 'image':
> # output image data
> else:
> # output html data
>
> 2009/12/26 heav
Hello,
To start, this is not another how do I get matplotlib to work in
Django thread. This is how do I get matplotlib to work better with
django. Before I go on, let me outline what I'm doing.
I'm currently working on a scientific data manager/viewer which uses
matplotlib as the primary graphi
Hello I will like you see this page And tell me what do you think
www.Man-X.org
Thank you very much
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
Hey there,
I'm currently developing a Django application.. When the user changes
his/her mail address, an activation mail is sent. It waits until it
sends the email which is not very nice.. So I guess that I should use
threading for that purpose..
Any suggestions for this one ? Can't I start a t
Hello,
I'm currently creating a website in Django and I have a problem to
create my models. I have 2 classes :
- Event : which hold the information about an event (where it take
place, the number of places available, etc...)
- EventDate which is used to know when an event takes place (since an
e
62 matches
Mail list logo