Re: keras

2020-05-31 Thread HJ
sorry I was using python 3.7.4 32bit and it required 64 , now it worked for me Le lundi 1 juin 2020 01:13:54 UTC+1, Franck Tchouanga a écrit : > > Which version are you trying to install > > On Mon, Jun 1, 2020, 00:39 HJ > wrote: > >> hello guys hope u r doing well &

keras

2020-05-31 Thread HJ
hello guys hope u r doing well I want to use keras but I face the error like *there is no module named tensorflow* when I try to install it I face this error : **ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)* *ERROR: No matching distribution

Re: Django json parser

2020-05-30 Thread HJ
you have to do a Queryset inside your view function , something like : @login_required def Home(request): return render(request,'home.html',{}) @login_required def JsonFunction(request): dataset = YourModel.objects.all() data =

Datetime Error

2020-05-26 Thread HJ
hello django-users hope you are doing well ! I was trying to convert the Date from string to timestamp def JsonDeliv(request): dataset = DeliveriesperDate.objects.all().values_list('Date', 'CountDeliveries') data = list(dataset) for i in data : data[i][0] =

Re: convert Date to milliseconds

2020-05-25 Thread HJ
e the timestamp() method in the related > Date field. This will deliver the date in seconds format, then you just > multiply by 1000 to get your Date in milliseconds. > > > > Hope this helps. Sorry if it got a little confusing. > > > > *De: *HJ > *Enviado:*se

convert Date to milliseconds

2020-05-25 Thread HJ
Hello everyone I want to convert my Date from string to *milliseconds* this is my *models.py class * *class mail_item_count_deliveries_perDate(models.Model):countDeliveries = models.IntegerField(default=0)Date = models.DateTimeField()* this is my *views.py * def jsonDeliv(request):

JSON data

2020-05-24 Thread HJ
hello guys hope you are doing well I am trying to make a highchart but I found a problem in the view function so my chart doesn't show becuase of that view function def jsonDepend(request): dataset = mail_item_countries_depend.objects.all().values('exped','destin', 'count') data =

Re: How to Insert Foreign Key into my user model with Abstractbaseuser

2020-05-22 Thread HJ
can you check this , I hope it's helpful https://stackoverflow.com/questions/28691771/django-foreignkey-to-abstractbaseuser Le jeudi 21 mai 2020 13:11:50 UTC+1, 박지훈 a écrit : > > class User(AbstractBaseUser): >password = models.CharField(max_length=128) >username =

JSON file

2020-05-22 Thread HJ
hello django users hope you are doing well I want to do a highchart using a json file , and that's the problem I am facing , I want to create a json file in my views.py based on my columns below "countDeliveries"and "Dates" class mail_item_count_deliveries_perDate(models.Model):