SWA-HUB

2019-03-17 Thread officialjoemayami
We're only looking for Developers, Data Scientist and AI specialties. If you're not in this field, please don't join us. Also you should note the only supported programming language is Python or R. https://chat.whatsapp.com/KJ2GyBoOmAu0XvQa6S9RTt Any member that join without at least contributi

SWAQ-HUB

2019-03-17 Thread officialjoemayami
We're only looking for Developers, Data Scientist and AI specialties. If you're not in this field, please don't join us. Also you should note the only supported programming language is Python or R. https://chat.whatsapp.com/KJ2GyBoOmAu0XvQa6S9RTt Any member that join without at least contributi

Re: SWAQ-HUB

2019-03-17 Thread Harish Chaudhary
Fresher are allowed in this group?? On Sun, 17 Mar, 2019, 4:32 PM , wrote: > We're only looking for Developers, Data Scientist and AI specialties. > If you're not in this field, please don't join us. > Also you should note the only supported programming language is Python or > R. > > https://ch

For what il8n is used?

2019-03-17 Thread gauravsrivastava2k17
I used to many time {% load il8n %}. For what purpose it is used? -- 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

Re: For what il8n is used?

2019-03-17 Thread Aldian Fazrihady
So we can use template tags related to internationalization, such as 'trans' and 'get_current_language' On Sun, 17 Mar 2019, 18:54 , wrote: > I used to many time {% load il8n %}. For what purpose it is used? > > > -- > You received this message because you are subscribed to the Google Groups >

How to become a contributor in an organisation

2019-03-17 Thread gauravsrivastava2k17
Hi , I am new to GSOC and so I want to know that how I can be a contributor? -- 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...@googlegroup

Re: For what il8n is used?

2019-03-17 Thread gauravsrivastava2k17
Ohh now I got it. Thanks for replying On Sunday, March 17, 2019 at 5:30:11 PM UTC+5:30, Aldian Fazrihady wrote: > > So we can use template tags related to internationalization, such as > 'trans' and 'get_current_language' > > > On Sun, 17 Mar 2019, 18:54 , > > wrote: > >> I used to many time {%

Re: What I am doing wrong

2019-03-17 Thread gauravsrivastava2k17
Please put screenshot of your traceback as it is easier to understand issue with that On Friday, March 15, 2019 at 5:37:31 PM UTC+5:30, Harish Chaudhary wrote: > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

filter two columns django

2019-03-17 Thread omar ahmed
hi guys this is my view def premierleague(request): news_list = LeagueNews.objects.filter((publication_date__lte=timezone.now)|(league_name='english')).order_by('-publication_date')[:10] return render(request, 'core/premierleague.html', {'news_list':news_list}) i want to filter my objects by two c

Re: filter two columns django

2019-03-17 Thread Shashank Singh
OR from django.db.models import Q news_list = LeagueNews.objects.filter(Q(publication_date__lte=timezone.now)|Q(league_name='english')).order_by('-publication_date')[:10] AND news_list = LeagueNews.objects.filter(publication_date__lte=timezone.now, league_name='english').order_by('-publication_dat

get_absolute_url in djano 2.1.7

2019-03-17 Thread arpan godiyal
Can someone help me with how to use get_absolute_url method in django 2.1.7. -- 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...@googlegroup

Execute view logic without page change | Add item to list

2019-03-17 Thread Aris Almpanis
Hello all, Django newbie here so sorry for any mistargeted questions! I am building an app for handling user orders and I would like to track each user's add item request, pretty much like an 'add product to cart' functionality. At the moment I have a detail view where there is the option of add

Re: filter two columns django

2019-03-17 Thread omar ahmed
thank you Shashank very much it works On Sunday, March 17, 2019 at 4:02:46 PM UTC+2, Shashank Singh wrote: > > OR > from django.db.models import Q > news_list = > LeagueNews.objects.filter(Q(publication_date__lte=timezone.now)|Q(league_name='english')).order_by('-publication_date')[:10] > > AND >

Re: get_absolute_url in djano 2.1.7

2019-03-17 Thread Ankit Anurag
The one major use is that this function helps you avoid situations where you have to hardcode a URL in your templates. Instead, you use something like {{.get_absolute_url}} and even if you change the path in some way at some later point of time, it won't matter. It's basically a really good pra

Django 2.1.4: Permissions are not updated after migrations

2019-03-17 Thread Yevgeny Bar Lev
Hello, I have noticed that the available permissions list, which can be set to users/groups in the admin doesn't match my models. This happened after a few standard migrations, where some models were renamed, some deleted, and new models were added. The list is basically not updated, and represe

Re: Django 2.1.4: Permissions are not updated after migrations

2019-03-17 Thread Simon Charette
Hello Yevgeny, I don't have magic solution to suggest to you given the current state of your permission data after a few iterations but I just wanted to let you know that it's a known issue[0] and a contributor is actively working on getting it fixed[1]. Cheers, Simon [0] https://code.djangop

Is MongoAtlas supported with django?

2019-03-17 Thread Periklis Gkolias
Hi, I am trying to connect my Django app to MongoDB atlas, using djongo . Here is my status: I have set up a cluster successfully in Atlas. I am then getting the connection string details from the relevant console. With that knowledge, I am amending

Re: Django 2.1.4: Permissions are not updated after migrations

2019-03-17 Thread Yevgeny Bar Lev
Thanks Simon. Is there some nonmagical solution? I mean, is it possible to fix some of the permissions manually without breaking stuff? On Sun, Mar 17, 2019, 9:21 PM Simon Charette wrote: > Hello Yevgeny, > > I don't have magic solution to suggest to you given the current state of > your > permi

Django's best way to upload data into a postgresql database

2019-03-17 Thread Guillermo Yáñez Feliú
Hello, I’m working in a project that consists in converting a local postgresql database (that uses sqlalchemy as the ORM) into a web application, in which I upload excel sheets, read them, do some small cleaning and then upload selected data into a postgresql database using Django’s ORM. Th

Enable Cron task, interval task not work Celery Beat

2019-03-17 Thread thanh . nguyenba0611
My Django Web has interval task type and cron task type. When i disable cron task type, interval task type work. But when i enable cron task type, cron task type work and interval task not work. I run celery beat and celery worker with supervisor. And i'm sure service beat running Version c

Re: Django's best way to upload data into a postgresql database

2019-03-17 Thread Ryan Nowakowski
Send like a pretty standard optimization scenario. I'd recommend: 1. Find the bottleneck. Here if your suspect it's pandas dataframe vs lists, run a timing analysis using each. 2. Remove the bottleneck On March 17, 2019 6:52:23 PM CDT, "Guillermo Yáñez Feliú" wrote: > > >Hello, > > >I’m worki

ANN: django-yamlconf 1.1.0

2019-03-17 Thread Michael Rohan
Hi Folks, Have release v1.1.0 for django-yamlconf, a module supporting Django settings via YAML files (searching up the directory hierarchy, e.g., in a K8s environment, adding a "final" set of settings via "/APPLICATION.yaml", see the documentation a https://django-yamlconf.readthedocs.io/en/lates

Re: Django 2.1.4: Permissions are not updated after migrations

2019-03-17 Thread Simon Charette
Hello Yevgeny, I'd start by deleting your stale content types[0] which your permissions are attached to. That should deal with deleted model case. For the renames I suggest you drop into a shell and manually edit the Permission.name of the misnamed instances. Best, Simon [0] https://docs.dja