Upload Imagae

2020-09-16 Thread kkwaq...@gmail.com
*How To Upload Image and save the file and save the databases * I have a record table for student, i wanna add column IMAGE every each row upload image.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: FieldError regarding custom User model which overrides the default auth User model

2020-09-16 Thread coolguy
Could not go through all your attachments but just reviewed few line of your models.py... just my two cents... If you are going to use email for your login then USERNAME_FIELD should carry email not username... USERNAME_FIELD = 'email' On Wednesday, September 16, 2020 at 5:02:35 PM UTC-4 johnr

Re: Help me with the view please

2020-09-16 Thread coolguy
If you are using sqllite3 then make a copy of it and delete the existing sqllite3 file from your project. Keep the old file as you may need it. Here are project files... i quickly make them but these are working... On Wednesday, September 16, 2020 at 3:57:22 PM UTC-4 dex9...@gmail.com wrote

FieldError regarding custom User model which overrides the default auth User model

2020-09-16 Thread John Reese
In my project I have two apps. Both of these apps require the *email* field not to be blank and one of those apps doesn't need the *first_name* and the *last_name* fields, so I decided to override the default *User* class available from *django.contrib.auth.models*. I did it following this

Re: How to calculate appreciation in django

2020-09-16 Thread Ernest Thuku
m concen is how I can calculate appreciation...the formula On Wed, Sep 16, 2020 at 10:37 PM coolguy wrote: > Did you setup the limits and maintenance dates in your asset models? > > If yes, then did you create any view that is available to designated user > who can run that report to see what is

RE: Help me with the view please

2020-09-16 Thread fadhil alex
Since model design is where I very much struggle, and I think  my fee management system models are not well design, so I need your help in redesigning my models please Sent from Mail for Windows 10 From: coolguySent: Wednesday, September 16, 2020 5:31 PMTo: Django usersSubject: Re: Help me with the

Re: How to calculate appreciation in django

2020-09-16 Thread coolguy
Did you setup the limits and maintenance dates in your asset models? If yes, then did you create any view that is available to designated user who can run that report to see what is due for maintenance and re-ordering. Please share more detail.. On Wednesday, September 16, 2020 at 12:03:56 PM U

Re: CSS problems

2020-09-16 Thread אורי
Yes, thank you! אורי u...@speedy.net On Wed, Sep 16, 2020 at 8:14 PM Larry Martell wrote: > On Wed, Sep 16, 2020 at 10:04 AM ‫אורי‬‎ wrote:‬ > > > > Hi, > > > > My website, https://en.speedy.net/, the date of birth input is bordered > red with Firefox, and I can't find why the border is red? I

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread rocky.bernst...@gmail.com
Lokesh et all - all you gotta do is fork the code at https://github.com/mathics/mathics work on it and put in a PR. Others who want to work on it can put in other PR's (https://github.com/mathics/mathics/pulls) or make comments and review the code. On Wednesday, September 16, 2020 at 11:07:39

Re: CSS problems

2020-09-16 Thread Larry Martell
On Wed, Sep 16, 2020 at 10:04 AM ‫אורי‬‎ wrote:‬ > > Hi, > > My website, https://en.speedy.net/, the date of birth input is bordered red > with Firefox, and I can't find why the border is red? I checked and there is > nothing red in the CSS and it's not red with Chrome or Edge. Any idea why the

CSS problems

2020-09-16 Thread אורי
Hi, My website, https://en.speedy.net/, the date of birth input is bordered red with Firefox, and I can't find why the border is red? I checked and there is nothing red in the CSS and it's not red with Chrome or Edge. Any idea why the border is red and how do I cancel the red border? Thanks, Uri.

Re: How to calculate appreciation in django

2020-09-16 Thread Ernest Thuku
This is an example of a reorder level function in views.py def reorder_level(request, pk): queryset = Asset.objects.get(id=pk) form = ReorderLevelForm(request.POST or None, instance=queryset) if form.is_valid(): instance = form.save(commit=False) instance.save() messages.success(request, "Reorder l

Re: How to calculate appreciation in django

2020-09-16 Thread Ernest Thuku
The system is a managing system whereby you maage Items like the stock system, this one manages assets likes furniters,computers etc. The item is added in the system and the system can be able to offer an alert when a certain item is below where the reorder level is. The system can also be able to

Re: How to calculate appreciation in django

2020-09-16 Thread Akorede Habeebullah
Can you be more elaborate? How does the system work? *Akorede Habeebullah A.* *hda0...@gmail.com * *+2348179564316* On Wed, Sep 16, 2020 at 4:43 PM Ernest Thuku wrote: > Hello guys, > I have developed a system to manage assets. It is more like a stock > management system whereby the system has

How to calculate appreciation in django

2020-09-16 Thread Ernest Thuku
Hello guys, I have developed a system to manage assets. It is more like a stock management system whereby the system has a reorder level and such. Anyone who can help me to apply appreciation/depreciation code? -- You received this message because you are subscribed to the Google Groups "Django

Cant send a message to a Django channel

2020-09-16 Thread Praful Bagai
I want to send a message over a channel using Django Channels. This is what I'm doing. I create a consumer first. I'm able to echo back the received messages. However, not able to send messages to a specific channel/group. class Consumer(AsyncJsonWebsocketConsumer): > """Consumer."""

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread Lokesh Kumar
Love to be a part of this. On Wed, Sep 16, 2020 at 12:56 AM rocky.bernst...@gmail.com < rocky.bernst...@gmail.com> wrote: > Mathics is a general-purpose computer algebra system (CAS). It is an > open-source alternative to Mathematica. It is free both as in "free beer" > and as in "freedom". > > W

Online food ordering system Django

2020-09-16 Thread Tanni Seriki
Please those any one has a project like online food ordering system... -- 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.

Re: Help me with the view please

2020-09-16 Thread coolguy
There are a lot of courses but those are very basic and keep on talking about same thing that you might have learned before... even after taking courses you will have to think yourself how to structure your tables I would suggest don't start any big project rather start with a simple Studen

Re: Using Getstream with Django

2020-09-16 Thread Ryan Nowakowski
It looks like getstream.io offers an API and a Python library to access it. I'd follow the documentation here: https://github.com/GetStream/stream-python They also have libraries to access their API from the frontend (JavaScript, react, etc) On September 14, 2020 7:47:01 PM CDT, "'alan_mo...@y

HOWTO : Redundant PostgreSQL connection

2020-09-16 Thread Charles Bueche
Hi, We have a redundant PostgreSQL server pair and this is how I managed to connect to both servers using the underlying libpq features.     https://www.netnea.com/cms/2020/09/16/redundant-postgresql-connection-in-django/ keywords : DATABASES, OPTIONS, target_session_attrs, sslmode Regards, Cha

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread rocky.bernst...@gmail.com
Thanks On Wednesday, September 16, 2020 at 1:47:30 AM UTC-4 Ogunsanya Opeyemi wrote: > Hi i would like to . > > On Tuesday, September 15, 2020, rocky.b...@gmail.com > wrote: > >> Mathics is a general-purpose computer algebra system (CAS). It is an >> open-source alternative to Mathematica. It

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread rocky.bernst...@gmail.com
Thanks. On Wednesday, September 16, 2020 at 1:47:30 AM UTC-4 Ogunsanya Opeyemi wrote: > Hi i would like to . > > On Tuesday, September 15, 2020, rocky.b...@gmail.com > wrote: > >> Mathics is a general-purpose computer algebra system (CAS). It is an >> open-source alternative to Mathematica. I

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread rocky.bernst...@gmail.com
I should also mention one other thing about this. The help documentation right now is blank. I would have tried to fix that but I don't even understand where I need to go to fix it. So if someone can explain that either in 1.x for a newer version I'd be greatful and will address this. And if po

Re: Volunteer wanted: convert Mathics Django from 1.x to 2.x or 3.x

2020-09-16 Thread rocky.bernst...@gmail.com
Thanks everyone! On Wednesday, September 16, 2020 at 2:40:34 AM UTC-4 trapp...@gmail.com wrote: > Let me see what I can do. > > On Wed, 16 Sep 2020, 8:14 am Kunal Solanke, wrote: > >> I would like to do this too. >> >> On Wed, Sep 16, 2020, 11:16 Ogunsanya Opeyemi >> wrote: >> >>> Hi i would

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Check django documentation to store images to the folder. Use upload_to in models.py You have to update your models. All the best On Wed, Sep 16, 2020 at 1:50 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Store the images in a folder. > Store the images folder path in the

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Hi, Store the images in a folder. Store the images folder path in the database. Don't store the images directly in db. It is not a good practice. Instead use aws for storing images. Follow this tutorial series. https://www.youtube.com/watch?v=inQyZ7zFMHM All the best On Wed, Sep 16, 2020 at 1:

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread waqar khan
[image: s.JPG] Please Guys Reply Me . On Wed, Sep 16, 2020 at 1:36 PM waqar khan wrote: > *I am Using dataBase Sql* > > On Wed, Sep 16, 2020 at 1:21 AM kkwaq...@gmail.com > wrote: > >> *Problem :- I have Create table and add ImageField , i wanna upload_image >> Front-end and save database

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread waqar khan
*I am Using dataBase Sql* On Wed, Sep 16, 2020 at 1:21 AM kkwaq...@gmail.com wrote: > *Problem :- I have Create table and add ImageField , i wanna upload_image > Front-end and save database.*. > > > html file: But Image Not save > *I am upload using database* > > > [image: u.JPG] > *models.py*

Re: Check this out guys

2020-09-16 Thread Ashutosh Mishra
That's really cool buddy On Wed 16 Sep, 2020, 13:12 712189512, wrote: > Hi guys i have build this *https://connectdjango.com > * platform with django and i want you to check > it out,you can post your questions there and and also post some tutorials > too,let's all co

Re: Check this out guys

2020-09-16 Thread Waqas Ali
Wow Awesome 🥰 On Wed, Sep 16, 2020, 12:42 PM 712189512 wrote: > Hi guys i have build this *https://connectdjango.com > * platform with django and i want you to check > it out,you can post your questions there and and also post some tutorials > too,let's all connect an

Check this out guys

2020-09-16 Thread 712189512
Hi guys i have build this *https://connectdjango.com * platform with django and i want you to check it out,you can post your questions there and and also post some tutorials too,let's all connect and keep on djangoing.Thanks -- You received this message because you are