Re: How to connect mysql with django

2018-11-11 Thread pujiarahman
Hi, Go to this site https://www.lfd.uci.edu/~gohlke/pythonlibs/#mysqlclient i use this for my python 3.7 and windows x64 : mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl try : pip install mysqlclient-1.3.13-cp37-cp37m-win_amd64.whl regards Pada Minggu, 11 November 2018 18.57.11 UTC+7,

Re: Django in Linux set image

2018-12-12 Thread pujiarahman
Hi all, i will tray it.. thanks for your attention Pada Senin, 10 Desember 2018 19.46.28 UTC+7, Riska Kurnianto menulis: > > in staging or production env, You need to specify STATIC_ROOT in > settings.py and run "manage.py collectstatic". > > > > On Mon,

Django in Linux set image

2018-12-09 Thread pujiarahman
Hi all, i have instaled django in ubuntu, i have image and i put in folder (*img*), the locate is blog urls.py views.py admin.py --static -- blog -dist ---*img* When i load my browser The image is

objects.filter

2018-11-29 Thread pujiarahman
helo, iam new for python. my : models.py lass logbook_noc(models.Model): idLogbookN = models.IntegerField(primary_key=True) kodetiket = models.CharField(max_length=30) CustName = models.CharField(max_length=30) TanggalLo = models.DateTimeField() DeskripsiLo = models.TextField() StatusProgress