Find number of days between two date excluding weekend days and display the number in text field

2021-06-14 Thread Eugene TUYIZERE
Team, I have date1 and date2 fields. I am able to calculate number of days between the two dates using relativedelta as shown below: date1 = datetime.datetime.strptime(str(end_date), '%Y-%m-%d') date2 = datetime.datetime.strptime(str(start_date), '%Y-%m-%d') r =

Working with forms

2021-06-14 Thread Williams Andy Inc
I would like to know is there any easier way rather than overriding super, how do i add icons into the html input eg to have a key icon on the password field without installing any third party app also. is the best solution to render form in html and pass field values to django? or is there

File in nested serializer

2021-06-14 Thread narendra...@gmail.com
Hi Folks, I'm having a problem to insert a data in nested serializers with FileField. If anybody know the idea of doing that would you guys please just help me out. I googled it for the solution but found the problem asked but not a solution. And somewhere in git i found that it is hard to

Re: Github - ( Image formation Issue )

2021-06-14 Thread Sakshi jain
image.png On Tue, Jun 15, 2021, 10:13 Sakshi jain wrote: > both ...in project folder I make one new folder and add all image's > > On Tue, Jun 15, 2021, 10:11 Nikeet NA wrote: > >> The image is it in your

Re: Github - ( Image formation Issue )

2021-06-14 Thread Sakshi jain
both ...in project folder I make one new folder and add all image's On Tue, Jun 15, 2021, 10:11 Nikeet NA wrote: > The image is it in your project root folder inside static ?? > > On Tuesday, 15 June 2021 at 10:00:02 UTC+5:30 vn241...@gmail.com wrote: > >> warning: could not open directory

Re: Github - ( Image formation Issue )

2021-06-14 Thread Nikeet NA
The image is it in your project root folder inside static ?? On Tuesday, 15 June 2021 at 10:00:02 UTC+5:30 vn241...@gmail.com wrote: > warning: could not open directory 'AppData/Local/Application Data/': > Permission denied > warning: could not open directory 'AppData/Local/History/':

Re: Github - ( Image formation Issue )

2021-06-14 Thread Sakshi jain
warning: could not open directory 'AppData/Local/Application Data/': Permission denied warning: could not open directory 'AppData/Local/History/': Permission denied warning: could not open directory 'AppData/Local/Microsoft/Windows/INetCache/Content.IE5/': Permission denied warning: could not open

Document from Sakshi Jain

2021-06-14 Thread Sakshi jain
warning.docx Github - image formation issue -- 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

Re: location based web app with django and geodjango

2021-06-14 Thread Nikeet NA
Replace admin.site.register(Report) with this @admin.register(Report) On Tuesday, 15 June 2021 at 05:46:46 UTC+5:30 staka...@gmail.com wrote: > good evening all, > > I have started building a webapp using python, django and linux, but i'm > afraid the app does not appear under admin tab in

location based web app with django and geodjango

2021-06-14 Thread Stathis Angelou
good evening all, I have started building a webapp using python, django and linux, but i'm afraid the app does not appear under admin tab in 127.0.0.1:8000/admin I am sure I am missing something, attached is my code Thank you in advance Stathis -- You received this message because you are

Re: Desperately need help.

2021-06-14 Thread Jacob Greene
Lol what do you expect anyone to do? You just post some random HTML, zero code, no backtrace, nothing to even indicate there is an issue that someone could solve even IF they were willing... This has nothing to do with Django. I don't understand what you thought was going to happen. This is

no info on extra fields in the modelformset docs

2021-06-14 Thread VISHESH MANGLA
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`.

Django app problem

2021-06-14 Thread Inside Believer
DataTables warning: table id=filters-result-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7 $('#input-search').keypress(function (e) { var key = e.which; if (key == 13) // the enter key code {

Re: In need of help regarding HTML Submit button

2021-06-14 Thread Nikeet NA
Change the type of button back to type='button" rather than type="submit" On Monday, 14 June 2021 at 22:39:27 UTC+5:30 arit...@gmail.com wrote: > Hi, > I'm facing an error with the Place Order button not working when the user > is choosing the default address. Kindly help me out in this regard

Re: Github - ( Image formation Issue )

2021-06-14 Thread Nikeet NA
Move those images to static folder then add then with static tag. Do upload the static folder to on your server. On Monday, 14 June 2021 at 21:45:00 UTC+5:30 vn241...@gmail.com wrote: > Hello team, > I'm Er. Sakshi jain > > I'm trying to design simple E-commerce website without using any

Re: Desperately need help.

2021-06-14 Thread Kasper Laudrup
On 14/06/2021 05.15, Ken Smith wrote: > I sure hope that somebody can take the time to do this. I'm just > wondering one of you brilliant programmers can look at this webpage and > tell me where the errors are so that it can be fixed? Apparently the > programmers at the website are not as smart as

In need of help regarding HTML Submit button

2021-06-14 Thread Aritra Ray
Hi, I'm facing an error with the Place Order button not working when the user is choosing the default address. Kindly help me out in this regard and let me know if any other files are needed. Thank you in advance Regards, Aritra. class Address(BaseModel): user = models.ForeignKey(User,

Github - ( Image formation Issue )

2021-06-14 Thread Sakshi jain
Hello team, I'm Er. Sakshi jain I'm trying to design simple E-commerce website without using any database , When I trying to upload my website on my github account in my website image is not completely shown http://sakshijain.electrohost.co/kanaksingh/ Plz anyone help me .. Thank you --

Real-time dashboard method after delivering restapi from outside

2021-06-14 Thread 이경현
It is currently returning after receiving an api request from another system. I want to update the dashboard to Ajax after returning the request, but I can't find a way. Can you tell me how to send a signal from javascript or how to transfer it to JsonResponse? I don't know how to give it to

Re: How can i start to learn django?

2021-06-14 Thread Walter Randazzo
Hi Luciano, In my opinion the best way to learn is to read a basic tutorial and then start working in a real project ( From basic to advanced) Hope you enjoy learn it! El lun, 14 jun 2021 a las 6:53, Luciano Martins () escribió: > Docs Django is a start! > > Em domingo, 13 de junho de 2021 às

Re: How can i start to learn django?

2021-06-14 Thread Luciano Martins
Docs Django is a start! Em domingo, 13 de junho de 2021 às 11:22:22 UTC-3, desai...@gmail.com escreveu: > I am begginer in python. how can i start to learn django from begginners > to adance. please help me. -- You received this message because you are subscribed to the Google Groups

Re: recording video with raspberry pi camera module

2021-06-14 Thread Mottaz Hegaze
What does this has to do with django ? On Sat, 12 Jun 2021, 1:41 am hanin guesmi, wrote: > hi django users ,i wanna record a video with raspberry pi camera module > just click the app interface button and then the camera starts recording, > who has an idea about it! > thnx > > -- > You