Re: test error

2018-10-21 Thread Motaz Hejaze
f'{}' is not supported On Sun, Oct 21, 2018 at 2:29 PM Joel wrote: > What is your version of python? f strings were introduced in 3.6 > > On Sun, 21 Oct, 2018, 9:54 AM Tim Vogt (Tim Vogt), > wrote: > >> I try to make a test with has an error >> any suggestions? >> tim >> >> >>

Re: Using the URLconf defined in polls.urls, Django tried these URL patterns, in this order

2018-10-21 Thread Motaz Hejaze
first , no spaces are allowed in URLS as Manjunath said replace path(' ', views.index, name='index') with path('', views.index, name='index') in your polls/urls.py and check the result. second , run the server python manage.py runserver third check the url go to http://127.0.0.1:8000/polls On

Re: I Suck

2018-10-25 Thread Motaz Hejaze
Edson my Bro , all you need is to make simple thing , make just a traditional Home/About/Contact website , i can walk you through it if you want .. On Thu, Oct 25, 2018 at 12:10 AM Gerardo Palazuelos Guerrero < gerardo.palazue...@gmail.com> wrote: > Dude, > We are all like you, at some point.

Re: Setting up admin in visual studio

2018-11-05 Thread Motaz Hejaze
what do you want to do exactly ? On Mon, Nov 5, 2018 at 8:01 PM Saeed Pooladzadeh wrote: > Hello, > > Can anyone help me how to start the admin page in visual studio. > I have tried many methods but none succeeded. > > thanks > > Saeed > > -- > You received this message because you are

Re: Poll Tutorial: I'm stuck I have mysql on my vps I created the database

2019-01-23 Thread Motaz Hejaze
really your question is not clear , what is the error message you got from debugger ?? On Wed, Jan 23, 2019 at 9:29 AM Anirudh Jain wrote: > First of all you can remove 'PORT'. Then the most important thing to do is > to grant your user privileges to perform operations on mysql database that >

Re: Looking for a Django Co-Founder.

2019-01-23 Thread Motaz Hejaze
If you need a Programming experience only without money funding , i can help you .. feel free to contact me at skype:m3tz-hjze or by mail trappper...@gmail.com On Wed, Jan 23, 2019 at 6:41 AM Aditya Singh wrote: > No thanks > > On Jan 23, 2019 10:10 AM, "Zack Amaral" wrote: > > @Amitesh > >

Re: MySQL CRUD

2019-02-25 Thread Motaz Hejaze
Do you mean while code is running ? You want to automate the creation of tables ? On Mon, 25 Feb 2019, 21:53 Thomas Lockhart, wrote: > A good way to get started is to follow the Django tutorial on the polling > app. The mailing list will be happy to answer specific questions you might > have.

Re: Tag block and endblock

2019-02-25 Thread Motaz Hejaze
If you have multiple pages in a website , say , home page , about page and contact page , now all common content that is not changing from page to like navbar , header and footer you place them in a template page you can call it layout.html , and in this template page layout .html you define a

Re: Looking for an experienced Django full stack developer

2019-02-26 Thread Motaz Hejaze
Dear Giorgio , Kindly checkout your inbox and junk mail , i did send you my C.V and personal information .. Thanks On Tue, 26 Feb 2019, 13:00 Ahmed Ishtiaque, wrote: > I’d be interested in learning more! > > On Feb 26, 2019, at 4:27 AM, Giorgio M. wrote: > > We are looking to expand our team

Re: Looking for Developer, who can develop location based tracking sales force

2019-02-28 Thread Motaz Hejaze
Lol , those poor sales agents will not rest again .. You need a mobile app which will be installed on agents smart phones , the app will grunt gps access during installations .. The app will run a code that will send the location every 10 seconds to the backend api which will save it in database

Re: Tutorials Needed

2019-02-28 Thread Motaz Hejaze
Why dont you google whatever you want ؟؟؟!!! On Thu, 28 Feb 2019, 22:49 Lutalo Bbosa joseph, wrote: > try introduction to python by sentdex on youtube > > On Thu, Feb 28, 2019 at 9:54 PM Madhav Rajmohan > wrote: > >> Friends, >> I am Madhav Rajmohan currently pursuing my Studies

Re: looking for team members as my technical Advisory

2019-02-22 Thread Motaz Hejaze
I am interested On Fri, 22 Feb 2019, 12:02 Nura Bash, wrote: > Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am > looking for Technical advisory members for my project which am about to > start here in West Africa, is a plot project from 10 selected schools to > help train

Re: looking for team members as my technical Advisory

2019-02-22 Thread Motaz Hejaze
; teamlea...@gmail.com > > note :is voluntary work. > > > Thank you. > > my mobile is +2347034832618 > > Nura bashir > > On Fri, Feb 22, 2019, 12:29 PM Motaz Hejaze wrote: > >> I am interested >> >> On Fri, 22 Feb 2019, 12:02 Nura Bash, wrote

Re: Work from home opportunites

2019-02-22 Thread Motaz Hejaze
Try to particibate in any open source projects about django On Fri, 22 Feb 2019, 22:45 Vaibhav Kumar Chaudhary, < vaibhavkumar...@gmail.com> wrote: > Hi all, I am looking for work from home opportunities in Django. I have > worked on a few personal projects and want to gain some industrial >

Re: How does WSGI work?

2019-02-26 Thread Motaz Hejaze
You are very close to what realy happens , most of devs know nothing aboutbthis stuff On Tue, 26 Feb 2019, 20:26 Tal, wrote: > I've been developing web applications using Flask and Django for about a > year now, and although I've come across the term WSGI a bunch of times in > both frameworks,

Re: Looking for an experienced Django full stack developer

2019-02-26 Thread Motaz Hejaze
These days man its hard to get a job On Tue, 26 Feb 2019, 19:32 Manuel Alejandro Garrido Gongora, < nolodelato...@gmail.com> wrote: > Hi, I'm interested can you tell me more? > thanks! > > El mar., 26 feb. 2019 a las 11:02, Giorgio M. () > escribió: > >> We are looking to expand our team with an

Re: Things are notrithg and my website is not detecting fraud

2019-01-24 Thread Motaz Hejaze
please provide your code and any error messages , what is the problem exactly ?! On Thu, Jan 24, 2019 at 6:00 PM Mudasir Hussain wrote: > Initially the site has been built for banks , website owners to signup and > connect our backend engine to theit website ,so that whenever any act of >

Job Request

2019-01-24 Thread Motaz Hejaze
Hi all , Is there any remote job regarding Django , i am a beginner to mid-level in Django .. Thanks all .. -- 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

Re: when type code in server and i migrate always get this error i dont know why, if pull script from git get the same error, in windows code work normaly. __pychace__ was cleaned. file migrations 000

2019-01-24 Thread Motaz Hejaze
is it a permissions issue? On Thu, Jan 24, 2019 at 6:00 PM jemmy sapta wrote: > Traceback (most recent call last): > File "manage.py", line 15, in > execute_from_command_line(sys.argv) > File > "/home/pelni/eclinic_api/eclinicenv/lib64/python3.6/site-packages/django/core/management/ >

Re: Djangorest framework tutorial

2019-11-04 Thread Motaz Hejaze
If you need any help please let me know My skype m3tz-hjze On Mon, 4 Nov 2019, 4:44 pm Laura Pérez, wrote: > Thanks! > > Em seg, 4 de nov de 2019 às 09:59, Paras Jain > escreveu: > >> Hi, >> just follow this video u will easily know how to make api very easily >> link -

Re: Disabling Django Admin, and creating my own three custom admin dashboards

2019-11-10 Thread Motaz Hejaze
ittle bit of direction. > I'm thinking now of controlling access to each app's URL's via a single > piece of middleware (instead of at each View - just have to figure out how > to do that. > > Regards, > Wim > > On Saturday, 9 November 2019 10:44:58 UTC+2, Motaz Hejaze wrote: >>

Re: Django 1.4 urls.py deprecated, urlpatterns to change

2019-11-09 Thread Motaz Hejaze
You can use path or re_path path for normal urls re_path for urls containing regular expressions urlpatterns = [ path('index' , views.index , name='index) re_path('index/[a-z]*w/' , views.another_index , name='anotherIndex') On Sat, 9 Nov 2019, 12:47 am Mdlr, wrote: > I try to compile an

Re: Disabling Django Admin, and creating my own three custom admin dashboards

2019-11-09 Thread Motaz Hejaze
If you dont want django admin just remove it from installed apps , middleware and urls.. But i dont advice you to do this , you can make you own dashboards and keep django default admin panel .. You need a 3 signup pages and 3 login pages , each signup page will create a different user and each

Re: Making a scheduling app/programm for recurring treatment

2019-10-30 Thread Motaz Hejaze
I can cooperate with you .. Talk to me on skype : m3tz-hjze On Wed, 30 Oct 2019, 6:43 pm Uzama Zaid Mohammed Jaward, < uzamajaw...@gmail.com> wrote: > I think you don’t get any answer for these like questions in here. This is > a forum to discuss about Django and Support. First you have to

Re: SPA websites with Django

2019-11-15 Thread Motaz Hejaze
yes you can , you can use django rest framework for making backend api and use javascript libraries in frontend On Thu, Nov 14, 2019 at 2:26 PM Inna Reddy wrote: > Hi, > > Can we build Single page web applications with Django ? > > -- > You received this message because you are subscribed to

Re: SPA websites with Django

2019-11-15 Thread Motaz Hejaze
you need to go throw the django poll app tutorial On Fri, Nov 15, 2019 at 2:48 PM uday devikar wrote: > I want to take a input from a end user > > Name , email and message .. I don't want to validate user or anything > ...just want a input . In django . > What should I do...? > > > On Thu 14

Re: Request

2019-11-16 Thread Motaz Hejaze
Search man On Sat, 16 Nov 2019, 1:39 pm Tosin Ayoola, wrote: > Hey guy, need a little help on developing a school management system > project, can I get a github repo link, to get little help > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: Django jobs available

2019-11-18 Thread Motaz Hejaze
I sent my CV On Mon, 18 Nov 2019, 4:50 pm Chuck, wrote: > Thank you for your email. And sorry that I am looking for the job around > Los Angeles, CA where close to I live. > > Thank you, > Chuck > > > On Sunday, November 17, 2019, 11:55:42 PM PST, Jani Tiainen < > rede...@gmail.com> wrote: > >

Re: Django - Heavy Databse Usage

2019-11-18 Thread Motaz Hejaze
Make a custom user model , using abstractbaseuser , abstract base manager , lets say the custom user model will be myuser , myuser will contain all the common data between all users like name and email for example , , extend the custom user model using one to one relation with a model for each

Re: how to update many to many fields in django?

2019-12-15 Thread Motaz Hejaze
Call me on skype lets see your code and your problem .. My skype : m3tz-hjze On Sun, 15 Dec 2019, 5:49 pm Ahmad Ebrahim, wrote: > I'm struggling with this problem for 2 weeks please help me. > > > https://stackoverflow.com/questions/59269426/how-to-update-many-to-many-fields > > > regards. >

Re: how to send to sms to moblie number on one click at time to 25 numbers from django website ,,,,,, please anyone here for guidance

2019-12-17 Thread Motaz Hejaze
use twilio On Tue, Dec 17, 2019 at 2:29 PM Jani Eric wrote: > how to send to sms to moblie number on one click at time to 25 numbers > from django website ,, please anyone here for guidance > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Motaz Hejaze
Does it run on sqlite ?? You need to show the code On Mon, 28 Oct 2019, 8:10 am Harish Bheemanpally, wrote: > There is not user with harish in *DB*(postgresql) > the harish is the user of *OS*. > > As suggested by sacrac: > > I have created a new user in DB with the name harishb who is the

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-28 Thread Motaz Hejaze
for any information requried > > > Postgresql image with djanog > > [image: Screenshot from 2019-10-28 10-28-38.png] > > > On Monday, October 28, 2019 at 2:12:08 PM UTC+5:30, Motaz Hejaze wrote: >> >> Does it run on sqlite ?? >> You need to show the code >

Re: Maybe you can help me? Dynamic Admin Cache clearing/restarting?

2019-10-24 Thread Motaz Hejaze
Do you mean the frontend cash to view the generated sections ? On Fri, 25 Oct 2019, 2:00 am Jody Fitzpatrick, < jody.lee.fitzpatr...@gmail.com> wrote: > I'm working on a project where the admin models are registered > dynamically, this is including dynamically adding features like >

Re: extending a custom user (AbstractBaseUser) and displaying in admin

2019-11-24 Thread Motaz Hejaze
One way around is to make the models Employee and Company to inheret from User in models.py class Employee(User): ... class Company(User): ... On Sun, 24 Nov 2019, 5:33 am Underground Creatorz, < moorestephen...@gmail.com> wrote: > Hello all. Have a merry christmas and happy new Year. (

Re: Making a scheduling app/programm for recurring treatment

2019-10-31 Thread Motaz Hejaze
Any time , send me a text message at first On Thu, 31 Oct 2019, 6:10 am Nithin Bhaskar, wrote: > Hey, > Thanks. > What would be the right time to call you? > > On Wed, 30 Oct 2019 at 22:36, Motaz Hejaze wrote: > >> I can cooperate with you .. >> Talk to me on skyp

Re: My first django website

2019-10-06 Thread Motaz Hejaze
Tried it on mobile , simple and beautifull , keep the good work !! On Sun, 6 Oct 2019, 7:25 pm Ehab Al-Qabbani, wrote: > Thank you. > Good luck. > > > Warmest Regards, > Ehab > -- > *From:* django-users@googlegroups.com on behalf of Ivan Kasvan < >

Re: getting error when i changed database sqllite3 to mysql

2019-10-05 Thread Motaz Hejaze
If you have data , export it to csv , then after creating the mysql database populate it with data ftom csv file On Sun, 6 Oct 2019, 1:16 am Aldian Fazrihady, wrote: > Have you created the database on MySQL? > > On Sun, Oct 6, 2019 at 4:36 AM Gulsher Khan > wrote: > >> I trying to change

Re: my first view

2019-10-08 Thread Motaz Hejaze
Please follow the link in my last email On Tue, 8 Oct 2019, 5:05 pm Felipe Gregório USA, wrote: > how i do this? > > -- > 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

Re: my first view

2019-10-08 Thread Motaz Hejaze
nothing wrong , you just need to link your view with a route .. please go for the official django tutorial to understand the basics https://docs.djangoproject.com/en/2.2/intro/tutorial01/ On Tue, Oct 8, 2019 at 4:36 PM Felipe Gregório USA wrote: > Please tell me what is wrong with my first

Re: Micro Service Architecture

2019-10-12 Thread Motaz Hejaze
This is a good question , i dont know why no body answered it !! On Fri, 11 Oct 2019, 7:38 pm Uzama Zaid Mohammed Jaward, < uzamajaw...@gmail.com> wrote: > Hi all > > What are the tech stack is good for micro service architecture in Django > > -- > You received this message because you are

Re: {% with %} tag

2019-10-13 Thread Motaz Hejaze
yes , its like a temporary variable created when template loads On Sun, Oct 13, 2019 at 4:03 PM mohamed khaled < mohamed.khaled33...@gmail.com> wrote: > {% with comments.count as total_comments %} > the with tag is like a create variable but in the Django template instead > of using

Re: transition part of particular template to another template

2019-10-14 Thread Motaz Hejaze
you need a link to refer to the other view ( html page ) On Sun, Oct 13, 2019 at 6:20 PM mohamed khaled < mohamed.khaled33...@gmail.com> wrote: > I want to take the result from* detail.html* to *list.html * > > in *detail.html* > > > {% with comments.count as count %} > {{count}}

Re: Asking about Django

2020-02-23 Thread Motaz Hejaze
your question is not clear to answer , please speak in your first language ( arabic ) or put more details in your question .. On Sun, Feb 23, 2020 at 3:51 PM nawal benmohamed < nawoulabenmoham...@gmail.com> wrote: > *Does Django contain a library with component for implementation* > > -- > You

Re: Integrating Django Rest Framework with Microsoft Office 365

2020-03-01 Thread Motaz Hejaze
This is a whole project you asking about On Sun, 1 Mar 2020, 2:56 pm Nosa Omorodion, wrote: > I am currently trying to consume the Microsoft Office365 API and Expose it > via DRF to my frontend. > > I want to be able to: > >1. > >Give Role/Permissions to authenticated Users based off of

Re: greeting

2020-03-04 Thread Motaz Hejaze
l, my challenge is how do i save this selected services to django models > alongside the price for each service > > On Wed, Mar 4, 2020 at 11:46 AM Tosin Ayoola > wrote: > >> saving values of a checkbox to the database >> >> On Wed, Mar 4, 2020 at 1:23 AM Motaz

Re: greeting

2020-03-03 Thread Motaz Hejaze
Please let me know exactly the problem , i dont remember the case you talking about On Tue, 3 Mar 2020, 8:47 pm Tosin Ayoola, wrote: > halo. > good day to you, thank for you response to my question about checkbox with > django, i could really use your help on that, that why i messaged your >

Re: About Django performance

2020-02-28 Thread Motaz Hejaze
What is the type of data ?? What is the expected amount to be transfered by second ? Its not only django , its the server type and the database type .. On Fri, 28 Feb 2020, 1:36 pm Gil Obradors, wrote: > Hi ! > I 'm curious too! > > How much data? > > With CPU and RAM, may be the problem will

Re: Api

2020-02-28 Thread Motaz Hejaze
Anything real time will be done by sockets , which i think is not the solution you need.. On Fri, 28 Feb 2020, 9:19 am Tosin Ayoola, wrote: > Good morning guyz, > I need help on this one, it on writing api that will Shows the product > count for each manufacturer as users add products real

Re: How to create entire basic of website design without using django-admin panel

2020-02-28 Thread Motaz Hejaze
So all your problem is django admin ? Why ? On Fri, 28 Feb 2020, 9:02 am nrupesh08, wrote: > > > On Friday, February 28, 2020 at 12:19:55 PM UTC+5:30, nrupesh08 wrote: >> >> >> >> login page based on roles (user, admin). insert data, update data, delete >> data in (entire rows). only particular

Re: d

2020-02-24 Thread Motaz Hejaze
You want to make a file sharing website ?? On Mon, 24 Feb 2020, 1:22 pm Muhammad Abdullah Nabeel, < muhammadabdullahnab...@gmail.com> wrote: > I have made few games and data storing and searching softwares using > tkinter turtle numpy pygame math random etc modules but I still can not > made a

Re: d

2020-02-24 Thread Motaz Hejaze
Ok i got it Mohammed , Kindly checkout PyInstaller Django is a web framework used to create websites and web services On Mon, Feb 24, 2020 at 3:56 PM Kasper Laudrup wrote: > Hi Muhammed, > > On 24/02/2020 13.22, Muhammad Abdullah Nabeel wrote: > > I

Re: Is it possible to extend the model in another application without explicitly changing firs-one?

2020-02-28 Thread Motaz Hejaze
You should understand that extending a model will create a new table with columns existed in parent in addition to new columns you define , so yes you can extend .. On Fri, 28 Feb 2020, 3:03 pm Ol P, wrote: > What are you trying to achieve with this implementation? > > I want to achieve

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
08:53 PM UTC+5:30, Motaz Hejaze wrote: >> >> Hey Friends! >> >> I want to ask what is the best Django deployment stack to increase the >> request/per/second rate ?? >> >> does Nginx have better performance than apache ? >> >> What about Gunicor

Re: How to run the django development environment?

2020-01-26 Thread Motaz Hejaze
You dont know how to run django development environment and you want to contribute to django project !!! On Sun, 26 Jan 2020, 6:03 pm aakansha jain, wrote: > Oh, sorry I didn't have any idea about that. I was initially making this > new thread. But it was not creating. > So, that's why I

Re: Got an interview, need some idea for projects.

2020-01-23 Thread Motaz Hejaze
Yes .. You can follow projects from books like .. Django 2 by example Building Django 2 web applications On Thu, Jan 23, 2020 at 9:10 AM Jack Lin wrote: > > > Hi Django users, I'm Jack who currently learning Django everyday > > My practice projects

Re: Hosting a django website

2020-01-26 Thread Motaz Hejaze
there are many solutions 1 - Amazon Web Services 2 - DigitalOcean 3 - Heroku 4 - Pythonanywhere.com ‪On Sun, Jan 26, 2020 at 12:30 PM ‫אורי‬‎ wrote:‬ > Personally I host droplets on digitalocean, you have root and sudo but > it's some effort to setup the server. Starting from $5/month. > אורי

Re: What are the topics should a guy with 5+ years experience in django should know ?

2020-02-06 Thread Motaz Hejaze
Man you should tell us :D On Thu, 6 Feb 2020, 2:39 pm Santhosh Kumar, wrote: > Working in Django for more than 5 years. Want to know what are the topics > in Django I must have good knowledge? > > Thanks in advance. > > Regards, > Santhosh > > -- > You received this message because you are

Re: Django deployment with .htacess

2020-01-30 Thread Motaz Hejaze
I dont think that will work for django ! On Thu, 30 Jan 2020, 10:07 pm Perceval Maturure, wrote: > Hi All > Is there anyone who has used .htacess to deploy a Django website on a > server you do not have access to the apache2 conf file. ? > > Please share the tricks > Regards > Perceval > > -- >

Re: micro payments

2020-02-07 Thread Motaz Hejaze
Maybe using patreon link ? On Fri, 7 Feb 2020, 9:18 am Evgeni Petrov, wrote: > I was thinking about sms payments > > On Thu, 6 Feb 2020 at 20:40, Jody Fitzpatrick < > jody.lee.fitzpatr...@gmail.com> wrote: > >> PayPal, talk to them about micropayments. It is by far less expensive >> than the

Re: Django Simple Query very slow at thousand data.

2020-02-07 Thread Motaz Hejaze
1 - Sqlite is very slow when its compared to other sql databases like Mysql and Postgresql .. 2 - You need to use pagination , you are viewing using templates and not generating an excel or csv file to pass all this data in one shot 3 - pythonanywhere.com basic account comes with limited

Re: error

2020-02-07 Thread Motaz Hejaze
Did you pass the product_id to the view ? On Fri, 7 Feb 2020, 8:28 pm Bhumika shrestha, wrote: > Reverse for 'cart_add' with arguments '('',)' not found. 1 pattern(s) tried: > ['cart/add/(?P[0-9]+)/$'] > > -- > You received this message because you are subscribed to the Google Groups > "Django

Re: How to best secure environment variables (secret key, passwords etc.) stored in .yml files?

2020-02-08 Thread Motaz Hejaze
This discussion was very helpful On Sat, 8 Feb 2020, 2:10 pm onlinejudge95, wrote: > +1 for the same > > On Thu, Jan 30, 2020, 8:17 PM Chris Wedgwood wrote: > >> Hi Tom >> >> You are definitely not overthinking this. it's important. >> >> This is an area that has baked my noodle for a while

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
I found this comparison on a blog .. Apache vs Nginx https://www.hostingadvice.com/how-to/nginx-vs-apache/ -- 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

Re: I start final year project in django and project for social welfare ''''' please i need help and guideline '''''''

2020-01-25 Thread Motaz Hejaze
please contact me on Skype My Skype account m3tz-hjze On Sat, Jan 25, 2020 at 2:33 PM Jani Eric wrote: > if someone is free and ready for help then text me on *what'sapp > :03331931286* > * Thanks to all django group members* > > -- > You received this message because

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
uch faster so is ok to use (with a lot of work around connecting to > databases). > > On Sat, 25 Jan 2020, 08:06 Motaz Hejaze, wrote: > >> I found this comparison on a blog .. >> >> Apache vs Nginx >> >> https://www.hostingadvice.com/how-to/nginx

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
ink about your web services and whilst Django does support > ASGI nowadays it is still only experimental support. As a starting point > I'd stick with WSGI, ASGI has some benefits but early on the learning > curves make WSGI the logical choice. > > > On Sat, 25 Jan 2020, 11:41 Motaz

Best Django Deployment

2020-01-23 Thread Motaz Hejaze
Any help friends ? -- 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 on the web visit

Re: Best Django Deployment

2020-01-25 Thread Motaz Hejaze
https://github.com/andrewgodwin/deps/blob/async/draft/0009-async.rst#the-orm On Sat, Jan 25, 2020 at 4:50 PM Motaz Hejaze wrote: > They talking about making django asynchronous nature by the version 3.3 .. > i can see that asynchronous model is high speed and performance like in > no

Re: open source advice needed

2020-01-28 Thread Motaz Hejaze
I think Python and Javascript programming languages can do the job , Kimberly did you explore other learning systems already developed ? Moodle for example is a complete open source learning management system .. If your idea is not already there , i'll be glad to be one of the development team to

Re: Study and project partner(s) needed

2020-02-14 Thread Motaz Hejaze
Hey scorpio .. Can you add me on skype Skype id : m3tz-hjze On Fri, 14 Feb 2020, 11:50 pm mohamed khaled, wrote: > I need to partner to work with me and I have another one help together to > build big apps. to each one of us improve our resume. and learn how to work > together using git and

Re: Facebook Like app with Django

2020-01-11 Thread Motaz Hejaze
Ofcourse you can make use of many packages .. Djangorestframework Allauth As a start .. On Sat, 11 Jan 2020, 3:14 pm Sky Luv, wrote: > Hi, > > I am creating a social app something like facebook with Django. > I do not want to "reinvent the wheel" and I know there are a lot of > awesome Django

Best Django Deployment

2020-01-22 Thread Motaz Hejaze
Hey Friends! I want to ask what is the best Django deployment stack to increase the request/per/second rate ?? does Nginx have better performance than apache ? What about Gunicorn and other alternatives ? thank you very much -- You received this message because you are subscribed to the

Re: Django Rest - ManyToManyField with SlugRelatedField Data Is Not Being Created

2020-01-22 Thread Motaz Hejaze
Erika i think your models are not implemented correctly .. why you have a foreign key field in TagLink linking to Tags , while you already have a manytomany relation between the Tag and Calculator through TagLink try to remove the tag field from " through_fields=('calculator', 'tag') "

Re: why my “def __str__(self)” function isn't working in django

2020-01-17 Thread Motaz Hejaze
what is your python version ? please share your code with us ‪On Fri, Jan 17, 2020 at 4:44 PM ‫المعتصم بالله عبد العظيم‬‎ < dj.tahirou2...@gmail.com> wrote:‬ > Hi guys ! > i have some problems with def __str__(self) function not working in > Models.py > what can i do ? > please i need a help !!

Re: Admin Panel

2020-01-09 Thread Motaz Hejaze
search github for vali admin panel On Thu, Jan 9, 2020 at 9:01 PM APIJAY SHARMA wrote: > Can anyone help me out with good looking admin panels and how to customize > it and if possible how to make it more reliable!!! I am just getting > frustrated with admin issues in most of the modules > >

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Motaz Hejaze
To test just create another user and database and grant all privileges for the new user to the new database and finally add those new credentials to django settings.py On Fri, 3 Jan 2020, 12:46 pm ramadhan ngallen, wrote: > Hello > The reason was due to wrong password for the postgre. Kindly

Re: Multi return values in single function

2020-01-04 Thread Motaz Hejaze
# show us your models.py def index(request): content = { about:'about', serv1:'serv1', serv2:'serv2', serv3:'serv3', serv4:'serv4', project1:'project1', project2:'project2', contact:'contact', } return render(request,

Re: Full Stack Developer (Python/Django) position requirement for US GC/Citizen/Can Citizen

2020-01-05 Thread Motaz Hejaze
is this a remote position? On Sun, Jan 5, 2020 at 3:49 PM R D SAiNi wrote: > Yes i am interested this job in India > > On Fri 3 Jan, 2020, 11:05 PM Yash Garg, wrote: > >> For a large multi billion dollar Publishing house in New York, client >> needs a Full Stack Django Developer with 3+ years

Re: Looking for offline messaging sample app

2020-01-07 Thread Motaz Hejaze
By saying "messages" you mean sms ?? On Tue, 7 Jan 2020, 2:52 am Ram, wrote: > Hi, > We are developing a classifieds module and for which we need to add > 1. offline messaging feature so that registered members can submit > messages each other > 2. messages will be persisted in each member

Re: Mentor needed

2020-03-12 Thread Motaz Hejaze
What is GSOC ? On Thu, 12 Mar 2020, 8:32 am Naveen Arora, wrote: > Well, me too :) > > > On Wednesday, 11 March 2020 15:39:20 UTC+5:30, ola neat wrote: >> >> Hey guyz I'm applying for GSOC {django} & i pretty much need help >> (mentors), >> > -- > You received this message because you are

Re: help

2020-03-12 Thread Motaz Hejaze
add your app to installed apps -> make migrations -> migrate but your user app routes before admin panel app routes On Thu, Mar 12, 2020 at 4:36 PM hajar Benjat wrote: > [image: image.png] > why redirect me to account/login and not users/login > because my app name is users > -- > > *HAJAR

Re: HELP ME

2020-03-10 Thread Motaz Hejaze
What do you need ? On Tue, 10 Mar 2020, 4:34 pm LGBS fine soul coders, wrote: > hello am lugano mwakapuku from tanzania i'm a bigginer in django please i > need your help guy > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To

Re: help with my signup API

2020-04-08 Thread Motaz Hejaze
Please check that the request body sent from Angular is correct .. For better debugging ... In registration view , try to print() the serializer object and the serializer.data dictionary .. On Wed, 8 Apr 2020, 3:36 pm ola neat, wrote: > yes i did, i tested it with post man and i'm getting

Re: Issues with creating an app

2020-04-17 Thread Motaz Hejaze
Please try to follow the official tutorial of django ... 'Images.views.home' is not a string .. Try yo put without ' ' On Sat, 18 Apr 2020, 1:44 am Leonardo Salvador Diego Solis, < leonardo.diego110...@gmail.com> wrote: > Hello, this is the first time I use Django (I'm learning with free

Re: Looking for Django developers to work on a new and an existing project with our team

2020-04-06 Thread Motaz Hejaze
Where is the post owner ??? Why you make a request and did not answer the people who show interest ?? Why you dont say the status of this post .. On Mon, 6 Apr 2020, 11:31 pm Julio Henrique Oliveira, wrote: > Hi, > > I'd like to know more about this job. I am available. > > Best Regards >

Re: django doughts

2020-04-12 Thread Motaz Hejaze
You need the Url in urls.py You missed some parts of the tutorial Try to complete the tutorial following every step On Sun, 12 Apr 2020, 2:39 pm Anonymous Patel, wrote: > Ask your query in Errormania they helped me they have django Developers > they provide within hour solutions to a problem >

Re: No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-19 Thread Motaz Hejaze
اعمل اسم الفانكشن الحقيقي مكان اسم ال url او استخدم redirect reverse On Sun, 19 Apr 2020, 6:35 am Ahmed Khairy, wrote: > For this project, I have made 2 applications: Core and Users > > Creating a new user is the 2nd application. > I am trying to direct the new user after registration to 'home'

Re: user visit count

2020-04-15 Thread Motaz Hejaze
no standard for this , but thinking out loud with you .. you can make a many to many model ( table ) of 3 columns , first column will be user id , second column will be object id , third column will be number of visits ( integer initial value 0 ) , every time the object view is called you'll

Re: user visit count

2020-04-16 Thread Motaz Hejaze
Great On Thu, 16 Apr 2020, 6:53 am shreehari Vaasistha L, wrote: > Done > > On Wednesday, April 15, 2020 at 6:55:37 PM UTC+5:30, Motaz Hejaze wrote: >> >> no standard for this , but thinking out loud with you .. >> >> you can make a many to many model ( ta

Re: seeking experts guidance

2020-04-05 Thread Motaz Hejaze
i think you need a team On Sun, Apr 5, 2020 at 2:05 PM Nouman Mehmood wrote: > hello there, > > Hope everyone doing great. I'm final year student of computer science and > from Pakistan. I need suggestion about learning django and angular for the > final year project. What should I start with

Re: I have issue. I want to migrate database from sqlite3 to postgresql. With a table have 10M records. I need a solution for issue. Maybe help me?

2020-03-25 Thread Motaz Hejaze
cant be done directly from sqlite to postgres as there are differences between them ... safer to generate an intermediate file like a CSV or Excel file from the sqlite database .. create the new postgres database with proper column types .. make a python script to loop through each row in CSV or

Re: django search page not found error

2020-03-25 Thread Motaz Hejaze
irst_name is 'Omid', when i search 'o' or 'm', search works fine and > return 'Omid', but, when i search 'k', i get PageNotFound error > > On Wednesday, March 25, 2020 at 7:00:00 AM UTC+4:30, Motaz Hejaze wrote: >> >> Add null=True to manytomany field >> >> >>

Re: no default manager for tables2 object

2020-03-25 Thread Motaz Hejaze
it will be much easier if you share your models and the error On Wed, Mar 25, 2020 at 8:06 PM Nader Elsisi wrote: > I have a tables2 table. And I got this error. I searched the net and > followed a lot > But couldn't fix it. > > The tables2 object is for a inherited model and linked through

Re: Help

2020-03-25 Thread Motaz Hejaze
is it a requirement to use sql server ? On Wed, Mar 25, 2020 at 8:19 PM hajar Benjat wrote: > Hello I hope you are doing well > > Did someone already used sql server with django I need help for my final > year project > > My problem is I can't makemigrations because it gives me error > >

Re: Help

2020-03-25 Thread Motaz Hejaze
ike to use mysql because better > > But I have to use sql server > > On Wed, Mar 25, 2020, 7:22 PM Motaz Hejaze wrote: > >> is it a requirement to use sql server ? >> >> On Wed, Mar 25, 2020 at 8:19 PM hajar Benjat >> wrote: >> >>> Hello I hop

Re: email": [ "Enter a valid email address." ]

2020-03-27 Thread Motaz Hejaze
I think django doesnt recognize your custom user model .. Did you your app to installed app and put AUTH_USER_MODEL = 'myapp.MyUser' in settings.py ? On Fri, 27 Mar 2020, 3:33 am devyen, wrote: > Hi > > Do know how to whitelist an email domain name? It seems odd that I would > have to go

Online money transfer

2020-03-27 Thread Motaz Hejaze
Hi friends , What is the best and easiest way to implement money transfer from visa to visa and from visa to bank account ?? And how to link it with user accounts .. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Creating test databases in parallel

2020-04-01 Thread Motaz Hejaze
Long article somehow , but very informative ... https://realpython.com/python-concurrency/ On Wed, 1 Apr 2020, 11:25 am cool-RR, wrote: > Hi guys, > > I'm trying to optimize our Django testing workflow. > > We have 7 different databases, and Django spends a lot of time on these > lines: > > >

Re: Mobile friendly admin

2020-04-01 Thread Motaz Hejaze
Why dont we implement bootstrap for better responsive view ? On Wed, 1 Apr 2020, 10:19 am Mike Dewhirst, wrote: > On 1/04/2020 7:02 pm, guettli wrote: > > I know there a several third party packages which try to improve the > > great django admin: > > > > See:

  1   2   >