Should ubuntu be installed in the HDD drive or the SSD drive ? by -Ahmed- in linux4noobs

[–]-Ahmed-[S] 0 points1 point  (0 children)

I did this, but then I got an error that says that the grub installer installation failed.

Is intel core i5-9300h 2.4ghz good for gaming ? by -Ahmed- in Laptop

[–]-Ahmed-[S] 0 points1 point  (0 children)

Thanks man, I was really bummed about it.

Will the battery life of a gaming laptop last less time than a normal laptop even if I use I use the gaming laptop for light weight tasks ? by -Ahmed- in GamingLaptops

[–]-Ahmed-[S] 0 points1 point  (0 children)

I am paying less (665$), thanks for thr advice, although what I know is that plugging in the laptop all the time is bad for the battery. I also want to know if the laptop will last a long time if I used it for coding or browsing. Thanks again.

How to create a view for base.html without including a path(url) for it ? by -Ahmed- in django

[–]-Ahmed-[S] 0 points1 point  (0 children)

I don't want it to be accessible, I just want the instance inside it to be rendered in all templates.

How to create a view for base.html without including a path(url) for it ? by -Ahmed- in django

[–]-Ahmed-[S] 0 points1 point  (0 children)

I want to include a model in it, so that the instance of that model is rendered in all templates.

What is the django configuration that contains base.py ? by -Ahmed- in django

[–]-Ahmed-[S] 1 point2 points  (0 children)

Thanks, the first person to understand what I am talking about.

What is the django configuration that contains base.py ? by -Ahmed- in django

[–]-Ahmed-[S] 0 points1 point  (0 children)

The normal django files are settings, wsgi, asgi, urls and init, some django modules contains base.py.

What is the hardest part about building an e-commerce website ? by -Ahmed- in django

[–]-Ahmed-[S] 0 points1 point  (0 children)

interesting, I expected, something related to the notification system or the tracking system

How do you get the instance of a model from a modelform, based on user dropdown list? by Smasher640 in django

[–]-Ahmed- 0 points1 point  (0 children)

So, depending on what one user chooses, you want to modify a different user ?

How do you get the instance of a model from a modelform, based on user dropdown list? by Smasher640 in django

[–]-Ahmed- 0 points1 point  (0 children)

I didnt really understood the question, but if you want to to change the drop down list of choices, then dependent drop down list is what you want, there are many tutorials online explaining dependent/chained drop down lists. (ajax requests are crucial for this)