Use matplotlib and numpy, ask chatgpt
On Mon, 16 Sept 2024, 09:40 Nilesh Mishra, wrote:
> Y= a+bX2
>
> a and b are constant
>
> Where X is a variable and user input in the range 0 to 400
>
> On Sun, Sep 15, 2024, 19:23 Nilesh Mishra
> wrote:
>
>> It's done thanks
>>
>> On Sun, Sep 15, 2024, 08:
Hi Mike ,
You can do the following using query parameters.
Create a separate endpoint /getcities?city=... . You send the state and get
array of cities.
This endpoint would give you a json array of cities.
On selection of state on the frontend, your event listener would make api
call to above endpoi
Use selenium
On Mon, 13 Nov, 2023, 18:48 Vishesh Mangla,
wrote:
> Don't use postman for gui based login
>
> On Mon, 13 Nov, 2023, 18:25 Denny (Python developer), <
> denniskinan...@gmail.com> wrote:
>
>> i think the the error is from vercel itself assist
Don't use postman for gui based login
On Mon, 13 Nov, 2023, 18:25 Denny (Python developer), <
denniskinan...@gmail.com> wrote:
> i think the the error is from vercel itself assist me my tech guys
>
> On Monday, November 13, 2023 at 3:54:29 PM UTC+3 Denny (Python developer)
> wrote:
>
>> i hosted
Just move forward with your code , dint give attention to red squiggly at
this stage
On Mon, 28 Aug, 2023, 20:08 Vishesh Mangla,
wrote:
> Edtudiant is French not English
>
> On Mon, 28 Aug, 2023, 19:45 Abdoulaye SENE,
> wrote:
>
>> i don't understand
>>
&g
Edtudiant is French not English
On Mon, 28 Aug, 2023, 19:45 Abdoulaye SENE,
wrote:
> i don't understand
>
>
> Le lun. 28 août 2023 à 14:09, Vishesh Mangla
> a écrit :
>
>> That's just a linting error, ignore it
>>
>> On Mon, 28 Aug,
That's just a linting error, ignore it
On Mon, 28 Aug, 2023, 19:35 Abdoulaye SENE,
wrote:
> [image: Cap0.PNG]
> but when i make python manage.py migrate, i only see [image: Capt.PNG]
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To u
You can use fixtures to store json data to your db but it should be in a
specific format based on your model.
On Fri, 21 Jul, 2023, 22:44 Emmanuel Seth,
wrote:
> Svp parlez en français 🙏🙏🙏
>
>
> Le ven. 21 juil. 2023 à 15:14, Opeyemi Ajayi <
> opeyemichristiana.aj...@gmail.com> a écrit :
>
>> I
e julho de 2023 13:48
>> *Para:* django-users@googlegroups.com
>> *Assunto:* Re:
>>
>> Hey I'm a fresh graduate from BS IT. And I'm a MERN Stack developer
>> learning Django for the web. What do u think?
>>
>> On Tue, Jul 18, 2023, 9:08 PM Asim Sulehria
Whats the CTC you are offering?
On Tue, 18 Jul, 2023, 21:38 Asim Sulehria, wrote:
> Do you have it or not ?
> We are just hiring Django developers as fresh graduates !
>
>
> On Tue, Jul 18, 2023 at 8:50 PM Vishesh Mangla
> wrote:
>
>> Degree is not sufficient. Memo
Degree is not sufficient. Memorizing 250 DSA questions is also a
requirement.
On Tue, 18 Jul, 2023, 21:18 Asim Sulehria, wrote:
> For getting a Job into industry you need a proper degree !
> Do you have it or not?
>
> On Tue, Jul 18, 2023 at 8:36 PM Vishesh Mangla
> wrote:
No degree teaches django or even web development.
On Tue, Jul 18, 2023 at 8:50 PM Asim Sulehria
wrote:
> Do you have a bachelor's degree in relevant field like Computer Science?/
> Software Engineering?/ Data Science?
>
> On Tue, Jul 18, 2023 at 8:16 PM utibe solomon
> wrote:
>
>> My number is
There is a course by Corey Schauffer through which I started and rest the
libera #django channel helped.
On Tue, 27 Jun, 2023, 17:35 lewis machilika, wrote:
>
> Did you already tried the Django official documentation?
>
> Regards,
> Lewis
> On Tue, 27 Jun 2023 at 2:02 PM, Dilmurod Dilmurod <
> d
One important question, what webserver are you using?
On Wed, Jun 14, 2023 at 10:34 AM Shaheed Haque
wrote:
> Have you tried using
> https://django-debug-toolbar.readthedocs.io/en/latest/? It can be a
> little fiddling about with, but it's time based profiling support has been
> invaluable in tr
https://medium.com/kami-people/profiling-in-django-9f4d403a394f
On Tue, Jun 13, 2023 at 11:44 PM Vishesh Mangla
wrote:
> Try profiling your django code
>
> On Tue, 13 Jun, 2023, 23:19 Nisha Jose, wrote:
>
>> Try to check any N+1 issue available in the code.
>>
>>
Try profiling your django code
On Tue, 13 Jun, 2023, 23:19 Nisha Jose, wrote:
> Try to check any N+1 issue available in the code.
>
>
> On Mon, Jun 12, 2023 at 9:46 AM Vishesh Mangla
> wrote:
>
>> Try cdn, and use Statics based on screen size
>>
>> On Mon
Why don't you use Google translate api?
On Mon, 12 Jun, 2023, 14:36 אורי, wrote:
> Hi,
>
> I have a website in English and Hebrew which I want to translate into
> French. The website has about 3 or 4 .po files in each language, which
> should be translated. But the translators I talked to want t
Try cdn, and use Statics based on screen size
On Mon, 12 Jun, 2023, 11:14 Vishesh Mangla,
wrote:
> Lmao
>
> On Mon, 12 Jun, 2023, 10:54 Kunal Mittal, wrote:
>
>> I have read various docs on performance optimization, but still not
>> getting what's taking to re
Lmao
On Mon, 12 Jun, 2023, 10:54 Kunal Mittal, wrote:
> I have read various docs on performance optimization, but still not
> getting what's taking to render templates and what's the bottleneck when
> cache get cleared, I takes around 12 hours for application to run smoothly
> after that event.
Ya, who ll open up Linux for him 😑
On Mon, 5 Jun, 2023, 22:43 Lakshyaraj Dash,
wrote:
> 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 assignmen
Please be careful whilst looking at the random jobs in this group. Afaik,
these are unverified. If they require you to relocate then think 10 times
before taking any action.
On Sat, May 27, 2023 at 1:32 AM Sakshi wrote:
> Hi I have around 3 years of experience with python.can you consider my
> p
https://stackoverflow.com/a/62782197/4213362
On Thu, May 25, 2023 at 7:35 AM André Lewis wrote:
> Hi,
>
> I'm currently working on a project with subdomains, and I wanted to
> authenticate the user across the site, regardless of the url. I did some
> digging and found some ideas for implementing
use nginx as reverse proxy
On Thu, 25 May, 2023, 07:35 André Lewis, wrote:
> Hi,
>
> I'm currently working on a project with subdomains, and I wanted to
> authenticate the user across the site, regardless of the url. I did some
> digging and found some ideas for implementing Oauth/openID connect
https://api.video/blog/tutorials/uploading-large-files-with-javascript/
On Fri, 19 May, 2023, 18:29 Karuppasamy T,
wrote:
> how to upload folder and sub directory and including sub files maximum
> 5gb please help me .
>
> --
> You received this message because you are subscribed to the Google Gr
https://medium.com/@manglavishesh64/using-gmail-smtp-with-3rd-party-apps-be3e15f4a7fc
On Wed, 17 May, 2023, 19:50 Chelsea Fan,
wrote:
> how can I find your medium stories?
>
> On Wed, May 17, 2023 at 7:09 PM Vishesh Mangla
> wrote:
>
>> You can't use SMTP with Google
You can't use SMTP with Google.
You need to use oauth through Google cloud platform. Actually there is one
way to use SMTP with Google to login through third party apps. Check out my
stories on medium. I had written one for a solution.
On Wed, 17 May, 2023, 19:36 Vishesh Mangla,
wrote:
Are you logging through Gmail?
On Wed, 17 May, 2023, 19:35 Chelsea Fan,
wrote:
> 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 whic
Use request module to make a request from django if you meant that
otherwise your question is unclear
On Fri, 12 May, 2023, 10:21 Karthik V A, wrote:
> Hello friends, Is there any inbuilt function in django for API. Without
> using REST framework and request.
>
> --
> You received this message b
Abdulrahman Abbas wrote:
>
>> Send the error details
>>
>> On Thu, May 11, 2023, 14:41 Michael Edet wrote:
>>
>>> How???
>>>
>>> On Thu, 11 May 2023, 14:25 Vishesh Mangla, wrote:
>>>
>>>> Try weasyprint
>>>>
>
Try weasyprint
On Thu, 11 May, 2023, 18:38 Oduwa Imade, wrote:
> Hello Guys! I am trying to generate a Pdf doc(reading data from a
> database) on Django with xhtml2pdf library. but i encounter this error when
> i hit the 'Create PDF' button:
>
> ValueError at /RecruitmentApp/createcvpdf
> with
If I understood the error right.
On Wed, May 10, 2023 at 5:47 PM Vishesh Mangla
wrote:
> Probably this would help:
> https://stackoverflow.com/questions/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django
>
> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma&
nswer but I have no idea what you
> mean.
>
> On Wednesday, May 10, 2023 at 2:00:51 PM UTC+2 Vishesh Mangla wrote:
>
>> False or True check for yourself.
>>
>> On Wed, 10 May, 2023, 17:29 Vishesh Mangla, wrote:
>>
>>> It looks like you are passing a nu
False or True check for yourself.
On Wed, 10 May, 2023, 17:29 Vishesh Mangla,
wrote:
> It looks like you are passing a null but null=False is not set
>
> On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, <
> django-users@googlegroups.com> wrote:
>
>&
It looks like you are passing a null but null=False is not set
On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, <
django-users@googlegroups.com> wrote:
> I'm trying to test a django-admin command and don't understand why the
> tests give errors on the code while the code works as expect
Also ask for help on web.libera.chat website.there is a python channel
On Tue, 2 May, 2023, 22:29 Vishesh Mangla,
wrote:
> Oh looks like you are using visual studio python. Dont use that and remove
> the python path and download python from official website
>
> On Tue, 2 May, 2023
roject should be delivered
>
> On Tue, 2 May 2023, 7:55 pm Vishesh Mangla,
> wrote:
>
>> Looks like issue is with pillow
>>
>> On Tue, 2 May, 2023, 22:17 Byansi Samuel,
>> wrote:
>>
>>> Which version of python do you use?
>>>
>>> It&
Looks like issue is with pillow
On Tue, 2 May, 2023, 22:17 Byansi Samuel, wrote:
> Which version of python do you use?
>
> It's because of python. Change the version of your python from anyone you
> have been using and install
>
> Python 3.10, it will work fine and successful
>
> On Tue, May 2,
Add your app name in settings.py in INSTALLED_APPS
On Fri, 24 Mar, 2023, 18:58 Chandresh . T, wrote:
> I'm a new learner of Django, and I want to do a project, In the main app a
> form will be given and if the person tells that he belongs to the frontend
> or backend developing group he will be
This group is not for promoting your paid service. It's where volunteers
help each other.So stop advertising your classes here.
On Sat, 6 Aug, 2022, 02:38 Dylan Reinhold, wrote:
> In the past 2 weeks, I have seen this same message sent over 4 times.
>
> We get it, you have a whatsapp group.
>
>
https://ccbv.co.uk/projects/Django/4.0/django.contrib.auth.views/LoginView/
https://openclassrooms.com/en/courses/7107341-intermediate-django/7263527-create-a-login-page-with-class-based-views
https://stackoverflow.com/questions/56761409/how-to-make-a-login-view-for-django-custom-user
On Fri, May
Sorry, on looking again I realized that CBV already does this.
https://ccbv.co.uk/projects/Django/4.0/django.contrib.auth.views/LoginView/
https://openclassrooms.com/en/courses/7107341-intermediate-django/7263527-create-a-login-page-with-class-based-views
https://stackoverflow.com/questions/56761
Vishesh Mangla
wrote:
> I think it's good, function based views offer you more flexibility. If you
> are not liking your code it's because your function should be split up into
> smaller functions, or use a class without it being a view.
>
> On Fri, 27 May 2022, 01:07
I think it's good, function based views offer you more flexibility. If you
are not liking your code it's because your function should be split up into
smaller functions, or use a class without it being a view.
On Fri, 27 May 2022, 01:07 'dtdave' via Django users, <
django-users@googlegroups.com> w
Iommi forms
On Thu, 28 Apr 2022, 23:00 Ryan Nowakowski, wrote:
> You're right, it's not very clear how to have a single class-based view
> handle both displaying details and submitting a form. This is a
> fantastic site that shows how each class based view is set up
> inheritance-wise: https://
I meant Gmail api.I was also stuck with Gmail.Also may 31 onwards Gmail
will block all third party apps which simply login with email and password.
On Thu, 28 Apr 2022, 11:02 Vishesh Mangla,
wrote:
>
> On Thu, 28 Apr 2022, 11:02 Vishesh Mangla,
> wrote:
>
>> Use Google api
On Thu, 28 Apr 2022, 11:02 Vishesh Mangla,
wrote:
> Use Google api.
>
> On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, <
> django-users@googlegroups.com> wrote:
>
>> okay i did both but now i am getting this error. Any clue on why?
>&g
Use Google api.
On Thu, 28 Apr 2022, 10:29 'Delvin Alexander' via Django users, <
django-users@googlegroups.com> wrote:
> okay i did both but now i am getting this error. Any clue on why?
>
> *SMTPSenderRefused at /password-reset/*
>
>
> *(530, b'5.7.0 Authentication Required. Learn more at\n5.7.
nvert it to pdf
>
> On Sat, Jan 29, 2022 at 9:31 PM Vishesh Mangla
> wrote:
>
>> Get the link and cookies from the webdriver and put that in requests.get
>> using request library to download the html on the page.
>>
>> On Sat, 29 Jan 2022, 21:29 Vishesh Mangla,
&g
Get the link and cookies from the webdriver and put that in requests.get
using request library to download the html on the page.
On Sat, 29 Jan 2022, 21:29 Vishesh Mangla,
wrote:
> Use requests for that .
>
> On Sat, 29 Jan 2022, 21:28 Aadil Rashid, wrote:
>
>> Hello Dja
Use requests for that .
On Sat, 29 Jan 2022, 21:28 Aadil Rashid, wrote:
> Hello Django Family, I came across the problem of downloading HTML pages
> as pdf using headless chrome, Can anybody here who could please let me know
> how can I do it or any good resource to follow, it would be appreciab
PyPDF2
On Thu, 20 Jan 2022, 19:46 Amor Zamora, wrote:
> I have 2 problems working with pdf in django.
> 1. I need a tool, function or library that allows me to open a pdf and
> read the metadata, to get its 'creator and producer' there, but I have to
> do this, not with python, because to show i
https://stackoverflow.com/a/2218134/4213362
On Thu, Dec 16, 2021 at 9:56 PM addani Raghavender <
addaniraghaven...@gmail.com> wrote:
> No not that much
>
> On Thu, 16 Dec, 2021, 7:43 am Amor Zamora, wrote:
>
>>
>> Can you help me?
>> I need to obtain the country of where the users access from th
:06, Nikeet NA wrote:
>
>> You can do it like this :
>>
>> class TransactionEntry(models.Manager):
>>def get_total_prices(self):
>> return
>> self.queryset().defer("users").annotate.(total_price=F("num_shares")*F(&q
Use selenium
On Sun, Jun 20, 2021, 06:29 Vrushang Desai wrote:
> Hi guys,
> *I'm trying to bypass youtube captcha & download email of the channel
> owner.*
>
> I would really like to know how can one actually solve it?
>
> As I'm facing issues with youtube,
>
> *Where captcha disappears (Even if
ers").annotate(total_price=F("num_shares")*F("price_per_share")).values('total_price')
> On Thursday, 17 June 2021 at 03:23:01 UTC+5:30 VISHESH MANGLA wrote:
>
>> Hello,
>>
>> I wanted to know that how for the model below, how can I get a queryset
Hello,
I wanted to know that how for the model below, how can I get a queryset
with all the fields excluding the `user` and including the output of
get_output_field? Please avoid hardcoding.
One way is
`TransactionEntry
.objects.defer("users").annotate(total_price=F("num_shares")*F("price_p
Hello,
I 'm trying to use a modelformset with extra form fields but the docs say
nothing about it.
The initial data corresponding to the model fields gets loaded.
I 'm stuck on this view(posted at the end) from previous 4 days, please
help someone.
The extra field is ` print_report_check`.
= True
def save(self, commit=True):
logger.info(" Method not meant to save anything ")
pass
On Monday, June 14, 2021 at 12:09:49 AM UTC+5:30 VISHESH MANGLA wrote:
> in line 38 i have that print statement, it's output is at the top , I dont
> know why that
in line 38 i have that print statement, it's output is at the top , I dont
know why that initial data is not going into that model formset.
actually one data the PAN_ID actually went into the modelform, but the
checkbox's "checked" didnt. You can see the html of the formset and the
checkbox fie
>
> Also, make sure you are using the docs for the correct version of django:
> For example:
> https://docs.djangoproject.com/en/3.0/topics/cache/
>
> instead of:
>
> https://docs.djangoproject.com/en/3.2/topics/cache/
>
> On Fri, Jun 11, 2021 at 4:20 PM VISHESH M
Hello,
Please help with the following error
settings.py
CACHES = {
"default": {
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
'LOCATION': '127.0.0.1:11211'
}
}
#CACHE_MIDDLEWARE_ALIAS = "teut_cache"
#CACHE_MIDDLEWARE_SECONDS = 500
#CACHE_MIDDLEWAR
Sorry , I should have posted the template
well, the error is, hmm,
suppose you are at page 1 , now you clicked next and you got to page 2
and the `post` method is hit. It will get page number as 2. But for
formset , the initial data will have to be compared with page "1" s data
not "2". I
Hello,
I am consistently getting this bizarre error and formset_invalid is getting
triggered.
I just tried to make a generic ListFormSetView.
[11/Jun/2021 12:48:24] "GET /adminuser/print-report/?page=1 HTTP/1.1" 200
5244
[{'PAN_ID': ['User with this Pan ID already exists.']}]
[11/Jun/2021 12:5
https://dpaste.org/bN7d
Please see code at dpaste.
I 'm trying to modify my admin site so that the admin can create new
accounts there. After clicking save , to whatever email address which the
admin has entered an email would bbe sent with a random password. It works
perfectly but when I try
AccountManager()
>
> USERNAME_FIELD = 'email'
> REQUIRED_FIELDS = ['shop_name', 'contact', 'is_staff']
>
> def __str__(self):
> return str(self.shop_name)
>
>
> See if that helps you out.
in the dpaste
s.
On Saturday, January 9, 2021 at 7:11:23 PM UTC+5:30 Amitesh Sahay wrote:
> Could you please paste your models.py
>
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers
y, January 9, 2021 at 6:38:56 PM UTC+5:30 Vishesh Mangla wrote:
> Hi, please help me create this UserManager child class. I 'm stuck up on
> this. I also need to divide my users into three groups.
> For this I extended the migrations file. https://dpaste.org/9VSd. But
> runnin
hanks in advance.
On Saturday, January 9, 2021 at 6:35:34 PM UTC+5:30 Vishesh Mangla wrote:
> https://dpaste.org/Zz5Z
>
>
> (venv) PS C:\Users\Dell\OneDrive\Desktop\djangodev\mass> python manage.py
> createsuperuser
> PAN ID: 6785
> Email: s@g
> Error: Enter a
https://dpaste.org/Zz5Z
(venv) PS C:\Users\Dell\OneDrive\Desktop\djangodev\mass> python manage.py
createsuperuser
PAN ID: 6785
Email: s@g
Error: Enter a valid email address.
Email: s...@gmail.com
Name: fjghg
Type: fg
Error: Value 'fg' is not a valid choice.
Type: ADM
Holding: 568
Password:
Pass
The error was related to data. The key wasn't in the data.
On Fri, Jan 1, 2021 at 2:07 AM Vishesh Mangla
wrote:
> I deleted the db and ran the migrations again.
> the actual error is this. https://dpaste.org/7vb3
>
> On Friday, January 1, 2021 at 1:58:17 AM UTC+5:30 Vis
I deleted the db and ran the migrations again.
the actual error is this. https://dpaste.org/7vb3
On Friday, January 1, 2021 at 1:58:17 AM UTC+5:30 Vishesh Mangla wrote:
> Hi, I am facing this error and 'm stuck on it from quite a lot of time.
> The error logs: https://dpaste.co
Hi, I am facing this error and 'm stuck on it from quite a lot of time.
The error logs: https://dpaste.com/AVG628T9N
My code: https://dpaste.org/dSMc
I have used : https://pypi.org/project/django-postgres-extra/
Any help is appreciated,
Thanks
--
You received this message because you are subsc
https://www.youtube.com/watch?v=yzIMircGU5I&list=PL5-da3qGB5ICCsgW1MxlZ0Hq8LL5U3u9y Sent from Mail for Windows 10 From: Emmanuel Oppong NtiamoahSent: 28 August 2020 21:05To: django-users@googlegroups.comSubject: Data Science Guide Hello friends i have learnt Python for a while now and i want to sta
https://www.youtube.com/watch?v=UmljXZIypDc Sent from Mail for Windows 10 From: sakshi jainSent: 28 August 2020 21:04To: django-users@googlegroups.comSubject: Re: material youtube vedios online On Fri, Aug 28, 2020, 19:23 السعيد حاجي سعيد wrote:Hello and good morning,
You can use Django and react with the help of webpack. Sent from Mail for Windows 10 From: guettliSent: 28 August 2020 14:02To: Django usersSubject: HTML Snippets instead of JSON-API If you read the current articles about software development,you get the impression that you must createa backend API
https://www.youtube.com/watch?v=UmljXZIypDc Follow this good tutorial. Sent from Mail for Windows 10 From: Suraj KumarSent: 14 August 2020 19:31To: django-users@googlegroups.comSubject: Hi guys, I am to new django. I am making blog website project. During the making blog website I am stuck one poi
Api’s are better suited for Django rest framework. Sent from Mail for Windows 10 From: Ashutosh MishraSent: 10 July 2020 18:30To: Django usersSubject: Re: How to get data from django model to excel sheet using openpyxl including images. i have created an api through which i can download the excel f
Href = "" static appname/something.css %}” Sent from Mail for Windows 10 From: ashish goyalSent: 06 July 2020 23:50To: django-users@googlegroups.comSubject: Static not working on unix while working on windows Hi All, I have created a django app on windows and have used bootstrap navbar n other func
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_sql.html Sent from Mail for Windows 10 From: Ashutosh MishraSent: 06 July 2020 13:56To: django-users@googlegroups.comSubject: Re: How to get data from django model to the excel sheet. But It is for js,react,angular, how can I pl
@Ashutosh Mishra I think reading your sql table with pandas and using to_excel/to_csv would be great in this case. If you are worried about the images. First of all I don’t know how you are storing your images. One method to store an image is to convert it to a very long base64 string and store it
I think learning some sql commands would be good. Lots of youtube tuts
available online.
https://docs.djangoproject.com/en/3.0/topics/db/sql/#executing-custom-sql-directly
On Sun, Jul 5, 2020 at 1:59 AM Akinfolarin Stephen <
akinfolarinsteph...@gmail.com> wrote:
> you can filter out the column yo
If the issue is managing static files on the server simply installing Django-heroku saved me from all that trouble. Sent from Mail for Windows 10 From: Rob RiedlingerSent: 21 June 2020 23:40To: Django usersSubject: Re: Django Uploaded images not displayed in production Check out this video https:/
Sorry, I misunderstood your problem. But can you also show your views.py. Also your path to MEDIA_ROOT is obfuscated. I used MEDIA_ROOT = os.path.join(BASE_DIR, 'media'). I thing this shall be sufficient to do for a try. Sent from Mail for Windows 10 From: Anton NyagolovSent: 21 June 2020 22:46To:
Hi, first of all welcome on this group. Secondly you can also try https://webchat.freenode.net/ on the #django channel but you first need to register there by asking on #freenode channel. Regarding your problem, images are static files and you should put them in static//your_desired_path to be det
I meant INSTALLED APPS= [], a correction. Sent from Mail for Windows 10 From: Vishesh ManglaSent: 20 June 2020 22:31To: django-users@googlegroups.comSubject: RE: Manage.py not working Isn’t test1 the ‘name’ that you had put in ‘django-admin startproject ’? Then after this you are supposed to chang
Isn’t test1 the ‘name’ that you had put in ‘django-admin startproject ’? Then after this you are supposed to change directory and get into where you find a folder with again. Then you make an app with “python manage.py startapp ” I can’t see any apps there. Also you need to put your ‘appname’ un
https://docs.djangoproject.com/en/3.0/intro/tutorial01/Please follow
this.
On Sat, Jun 20, 2020 at 9:34 PM ankit baliyan
wrote:
> First of all go to test1 folder then run this command.
>
> On Sat, 20 Jun, 2020, 9:11 pm Tanisha Jain,
> wrote:
>
>> Hi everyone,
>> I am new to Django platform.
Easiest solutionhttps://www.w3schools.com/html/html5_geolocation.asp Otherwise GeoDjango might have something Sent from Mail for Windows 10 From: meera ganganiSent: 20 June 2020 14:03To: django-users@googlegroups.comSubject: Help me out please Hello , I am working on attendance module in HR Pr
Although it has been just a few months for me learning Django, and although a lot of people on #django and #python on IRC say that Django docs are easier but I really felt it difficult to understand the required stuff in the docs without having good knowledge of Django. For example I was interested
See Django messages Sent from Mail for Windows 10 From: meera ganganiSent: 19 June 2020 12:01To: django-users@googlegroups.comSubject: Please help me out! Hello , I want to implement a Notification module in my Project could you please help me out! Thank you-Meera Gangani-- You receiv
If your wish whatever you want to use, all you have to use is the “request” variable that Django gives you. Btw see “generic views”. Sent from Mail for Windows 10 From: yashwanth balanaguSent: 18 June 2020 12:23To: Django usersSubject: why in views we use def(functions) and model we use class, why
One thing that can be done is to save the image as a base64 string in the database. https://stackoverflow.com/questions/3715493/encoding-an-image-file-with-base64 Sent from Mail for Windows 10 From: MUGOYA DIHFAHSIHSent: 14 June 2020 19:15To: Django usersSubject: Django Saving a form with Imagefiel
What kind of security? Sent from Mail for Windows 10 From: meera ganganiSent: 15 June 2020 22:28To: django-users@googlegroups.comSubject: Need your help!! Hello , How to apply security in django application and how to secure django applications Thanks in advance -Meera Gangani-- Y
Hi, I m interested but I started Django a few months ago only but know about models, forms, html, css, _javascript_. I don’t have any full projects but do know tensorflow and OpenCV too.I know GitHub. Try considering me. I might not be an expert but am good enough. Sent from Mail for Windows 10 Fr
First of all, if you will use .css file, it would be better. In that you can include image the usual way.But still if you would like it as inline element thenn use “...{% url ‘’ %}...”. Mind the single commas and double commas.Sent from Mail for Windows 10 From: Rabbi RabbiSent: 05 June 2020 20:57T
There’s map-box too if you w’d like to use it. https://www.mapbox.com/ Sent from Mail for Windows 10 From: meera ganganiSent: 04 June 2020 09:22To: django-users@googlegroups.comSubject: Re: Any free MAP API available you can use Geo-Django Library available in django On Thu, Jun 4, 2020 at 3:15 A
Href="" url ‘ name’%}Where name is the name parameter of the view in urls.py. Urlpatterns=[path(“/myview”, views.myview, name=”myview”)] In this caseHref="" url ‘ App_name/myview’%}Write your app name in App name Sent from Mail for Windows 10 From: meera ganganiSent: 03 June 2020 12:49To: django-us
Sorry for duplicate answer. I posted late. Sent from Mail for Windows 10 From: Samuel NogueiraSent: 26 May 2020 22:49To: django-users@googlegroups.comSubject: RES: Please help me pip install mysqlclient time screenshot image this error In the error shows that you don’t have visual C++ 14.0 installe
See the last photo, it says Microsoft Visual C++ 14 required. You are surely using win 7. Please try install Visual studio community version https://visualstudio.microsoft.com/vs/. Sent from Mail for Windows 10 From: R D SainiSent: 26 May 2020 22:40To: Django usersSubject: Please help me pip insta
\u... represents a Unicode character and you are using an ascii-decoder to decode it.Consider using encoding=”utf-8”. Sent from Mail for Windows 10 From: sunday honestySent: 24 May 2020 21:09To: Django usersSubject: Error while trying to send email for password reset I got the following error wh
1 - 100 of 119 matches
Mail list logo