Re: How can i modify the base_site.html Template?

2018-09-03 Thread gustavorzs88
Yes, that exactly -- 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 post to this group, send email to

Trouble installing Django

2018-09-03 Thread Iga John Bosco
U have installed python 3 but ure django installation is pick a different version of python. Simple. My experience is Linux or Ubuntu based. First get the path to ure python3 #Which python Or # python -c “from dilutions.sysconfig import get_get_python_lib; print get_python_li Then Do a

Re: Trouble installing Django

2018-09-03 Thread TimT Vogt
Use pip3 install django==2.01 You can use python 2.7 and python3 I use pip3 for installation of Django in python 3 Verstuurd vanaf mijn iPhone > Op 3 sep. 2018 om 19:35 heeft Phil Campaigne het > volgende geschreven: > > I have successfully installed python 3.7 and virtualenv. on my MACBook

Re: Trouble installing Django

2018-09-03 Thread Julio Biason
Hi Phil, This happens because you're trying to install Django system-wide and that operation requires root (superuser) access. The best way to install Django is to first create a virtualenv. That will isolate the install directory from the system, so you can freely install and uninstall any

Trouble installing Django

2018-09-03 Thread Phil Campaigne
I have successfully installed python 3.7 and virtualenv. on my MACBook Pro with MAC High Sierra 10.6 Now I am having trouble installing Django I don't understand the error message I am getting...especially teh last line. Owners-MacBook-Pro:realityBB owner$ pip install Django Collecting

Re: How can i modify the base_site.html Template?

2018-09-03 Thread victor jack
Do u want to customise the admin page to be different from the default one django provides? On Mon, 3 Sep 2018 8:04 AM , wrote: > Hello, i want to change de title and the default text in the header of the > Django-Admin site but i don´t know do that. > > -- > You received this message

Re: Hi

2018-09-03 Thread Mohammad Aqib
Add below line into your model. image = models.ImageField(upload_to='pathwheretoupload') On Mon, 3 Sep 2018, 10:41 pm Mikhailo Keda, wrote: > Check the docs - > https://docs.djangoproject.com/en/2.1/ref/models/fields/#django.db.models.ImageField >> >> -- > You received this message because you

Re: Hi

2018-09-03 Thread Mikhailo Keda
Check the docs - https://docs.djangoproject.com/en/2.1/ref/models/fields/#django.db.models.ImageField > > -- 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

Hi

2018-09-03 Thread Umar Kambala
Plz how do I add pictures to my poll questions? I have successfully completed the tutorials and I now wants to modified my site to have images so that people can vote. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

How can i modify the base_site.html Template?

2018-09-03 Thread gustavorzs88
Hello, i want to change de title and the default text in the header of the Django-Admin site but i don´t know do that. -- 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: Customise Session Engine to distribute session data storage

2018-09-03 Thread Web Architect
Thanks. This seems to be quite helpful. Will look into it. On Thursday, August 30, 2018 at 6:23:10 PM UTC+5:30, Jason wrote: > > https://github.com/adw0rd/django-multi-sessions > > that's a non-working project but might give you some clues how to route > sessions to different backends. > --

Re: From old-school Post/Redirect/Get to modern web (2018)

2018-09-03 Thread Jason
Correct, but the basics are pretty much the same. Think of a post request to be analogous to a form submit. Code-wise on the server doesn't change too much, and django-rest-framework helps a great deal with that. The difficult part is to do this client-side. There are three primary

From old-school Post/Redirect/Get to modern web (2018)

2018-09-03 Thread guettli
I use Post/Redirect/Get since several years. I use simple HTML forms (via ModelForm) with a plain old submit-button. Above pattern works. But I think the web of the future works different. Up to now my web application sends html to the web

Re: text editor

2018-09-03 Thread PASCUAL Eric
As already requested earlier by other posters, please STOP this totally useless and sterile discussion. As Gerald Brown wrote, the best editor is the one you feel the most productive and comfortable with. Full stop. Everybody has his own background, habits and tastes, hence there is nothing

Re: text editor

2018-09-03 Thread ireoluwa fakeye
Vs code On Sun, 2 Sep 2018, 06:41 sankar ardhas, wrote: > > Hi to all, > Which is the best editor for django framework in Ubuntu os > 18.04 > > Get Outlook for Android > > > > > On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" > wrote: > > Namaste !! >>

Re: text editor

2018-09-03 Thread Gerald Brown
The best editor is the ONE that works BEST for YOU!!! Try several and then pick the one that YOU like the best.  Everyone has their personal favorites!!! On Monday, 03 September, 2018 09:08 AM, Joel wrote: One can carry on discussion about something as subjective as "best text editor" for