Re: I need someone to ask

2020-06-19 Thread Mottaz Hegaze
add me on skype and let us talk m3tz-hjze On Fri, Jun 19, 2020 at 8:32 PM Rami Hegazy wrote: > My problem is i don't understand what exactly happens and why > > Please, if you are someone who understands django very well i need to get > in touch with you somehow to explain some stuff to me > >

Re: Retrieve Data in DataBaeses

2020-06-20 Thread Mottaz Hegaze
you need to do the django polls app tutorial On Sat, Jun 20, 2020 at 9:12 PM waqar khan wrote: > I have recently start in Django > I have create a simple project Registration Form in save database > Mysqlite3, > But, how to retrieve data database show in html file table formet , > > Please any g

Re: Required Django programmers for HR Portal project

2020-06-27 Thread Mottaz Hegaze
Mr Kumar, Please checkout your inbox or spam folder, I sent you my CV with email title " [ Motaz Hejaze ] Senior Python Django / Flask / Node.js Backend developer " Thanks & Regards On Sat, Jun 27, 2020 at 11:59 PM oba stephen wrote: > Would be interestef > > On Sat, Jun 27, 2020 at 8:57 PM

Re: Django

2020-07-07 Thread Mottaz Hegaze
try this in your project urls not your app urls register the namespace like this path('' , include('blog.urls' , namespace="post") On Tue, Jul 7, 2020 at 5:11 PM Tanni Seriki wrote: > Please family.please help me out, > Am trying to create a posts details Page, in model.py I declare a get >

Re: Django

2020-07-07 Thread Mottaz Hegaze
Jul 7, 2020, 4:38 PM Mottaz Hegaze wrote: > >> try this >> >> in your project urls not your app urls register the namespace like this >> >> path('' , include('blog.urls' , namespace="post") >> >> >> >> On Tue, Jul 7,

Re: How to save images posted by application users

2020-07-16 Thread Mottaz Hegaze
You need a model with ImageField or FileField On Thu, 16 Jul 2020, 7:07 am Ram, wrote: > Hi, > > We need to save images posted by our application users and the images will > be displayed in application UI once they are saved successfully. We are > trying with these parameters in our settings.py

Re: How to save images posted by application users

2020-07-17 Thread Mottaz Hegaze
Try to use subfolder in media, upload_to='/images' On Fri, 17 Jul 2020, 7:18 am Exactly musty, wrote: > I also had the same problem long time ago I remember i felt like hanging > myself,here is what I did, i deleted the media folder,created by django, > try this if it will work > > -- > You re

Re: Django storing byte string for image

2020-08-05 Thread Mottaz Hegaze
You can use database to store the location of the file on server , not the file itself.. Checkout in Documentation models.ImageField() models.FileField() On Tue, 4 Aug 2020, 9:01 pm را نيا, wrote: > Good evening > I want to import photos and PDF files from desktop app and display them in > web

Re: Flask to django

2020-08-08 Thread Mottaz Hegaze
no On Sat, Aug 8, 2020 at 4:22 PM sakshi jain wrote: > hello > > On Sat, Aug 8, 2020, 19:31 Amar prakash wrote: > >> Anyway to transform my flask code to django >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from

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

2020-09-15 Thread Mottaz Hegaze
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 like to . >> >> On Tuesday, September 15, 2020, rocky.bernst...@gmail.com < >> rocky.bernst...@gmail.com> wrote:

Re: optimisation django

2021-02-10 Thread Mottaz Hegaze
Use pagination and select_related , prefetch_related. Also consider using caching Default django pagination will load all rows then paginate them , which will consume time and hits on database. Search for a custom pagination solution that loads 10 rows by 10 rows as an example On Wed, 10 Feb 2

Re: optimisation django

2021-02-11 Thread Mottaz Hegaze
bjects > # for M2M relations > > and read about pagination > https://docs.djangoproject.com/en/3.1/topics/pagination/ > > maybe this 3 topics help you about optimization your applications > > Cheers > > On Wed, Feb 10, 2021 at 8:02 AM Mottaz Hegaze > wrote: > &

Re: Django vs Spring decision

2021-03-07 Thread Mottaz Hegaze
Use Django , its really much faster and easier to develop a product using it. On Sun, 7 Mar 2021, 4:11 am makhan Kumbhkar, wrote: > Django is Best framework for upcoming time > > On Sunday, March 7, 2021 at 12:38:04 AM UTC+5:30 Jan-Marten de Jong wrote: > >> Derek and Laya, >> Thank you for the

Re: Front Camera and Sound recording

2021-04-26 Thread Mottaz Hegaze
I think this is more related to Javascript. Please read about webRTC and see if this is what you are looking for. On Mon, 26 Apr 2021, 3:11 pm Kushal Neupane, wrote: > Can i inbox you? > > On Mon, Apr 26, 2021 at 5:42 PM Kasper Laudrup > wrote: > >> On 26/04/2021 13.37, Kushal Neupane wrote: >

Re: In need of immediate help from Django community

2021-05-24 Thread Mottaz Hegaze
I think in second image ( usercreateform ) your model needs to be User not profile On Mon, May 24, 2021 at 10:08 PM Aritra Ray wrote: > Hi, > > I've been facing a problem recently in creating a Django Profile model for > an E-commerce website. > Error: FieldError(message) django.core.exceptions.

Re: Telnet problem

2021-05-27 Thread Mottaz Hegaze
Maybe your ip is blocked now. On Thu, 27 May 2021, 2:27 pm Antonis Christofides, < anto...@antonischristofides.com> wrote: > Google doesn't officially support using its email service as a smarthost > (at least not so with free accounts). Therefore some things may be working > for a time and then

Re: Tables missing in SQLite but viewable in admin (confusion)

2021-05-28 Thread Mottaz Hegaze
Maybe those are not migrated yet, make sure that all your apps are added to installed_apps list in settings.py , run makemigrations and migrate On Sat, May 29, 2021 at 1:56 AM Ryan Kite wrote: > Greetings! > > Am very confused about why the local dev SQLite DB 'appears' to be missing > several t

Re: Filtering fields in http response data from http request url ?

2021-05-30 Thread Mottaz Hegaze
Using Django Rest Framework , you can alter the output by overriting function to_represent in serializer. On Mon, 31 May 2021, 1:26 am Adaeit Telle, wrote: > Hi Django Developers, > Json response from the django server is huge as the data fields contained > are of big size. > So, can I restrict

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 receiv

Need an Advice about large database I/O

2021-07-04 Thread Mottaz Hegaze
Hello Friends, Hope all is well, I have a project that involves reading large data files ( csv, excel sheets ) and writing them to a database. I am thinking of using the django ORM to read / write from files from / to the database ( maybe postgresql ) and to use Django templates to show records