Re: Python Django Training

2020-02-02 Thread Bryan Maxx
Hello, I am interested in learning Python with you.

On Sat, Feb 1, 2020, 4:42 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKHMJxqXpEHjMMP9owLmRVTT%3DPEyWOpZK-T5z998p%2BR22RzB%3DQ%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Aniket Jain
Even I also

On Sat, 1 Feb, 2020, 7:12 PM Srikanth K,  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADV%2Bov%2BCoCxEvWKBU9TEKCR6HLrdPt31KJw2e4q%3De0arCrN-Hw%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread yerri swamy
I am also intrested..

On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com.


Test -Error :AssertionError: 404 != 200

2020-02-02 Thread Body Abdo
Dear all

I can't do the test -error is 
self.assertEqual(response.status_code, 200)
AssertionError: 404 != 200
My code is
views.py 

class DetailPageView(DetailView):
model = Series

template_name='/var/www/project/tapelss/movies/archive/templates/archive/detail.html'


urls.py

app_name = 'archive'
urlpatterns =[
path('',views.indexing, name ='indexing'),
path('post//', DetailPageView.as_view(), name='post_detail'),
path('post',HomePageView.as_view(), name ='home'),
path('page',views.page, name= 'page'),


tests.py

def test_post_detail_view(self):
response = self.client.get('/post/264/')
no_response = self.client.get('/post/100/')
self.assertEqual(response.status_code, 200)
self.assertEqual(no_response.status_code, 404)
self.assertContains(response,'Nice body content')
self.assertTemplateUsed(response, 'detail.html')





-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/284f9aed-8da2-4697-936c-a86a380f00a5%40googlegroups.com.


Re: Upgrading django from 1.8 to 2.2.0

2020-02-02 Thread אורי
Upgrade Django from 1.8 to 1.9, then 1.10 etc. until 2.2. Each time run
makemigratons and migrate and run your tests to see that everything works.
And if there is a problem with a specific migration - maybe you have to
edit it manually like Mike suggested.

>From my experience, it takes time to upgrade Django and it's an average of
about half a day per version. And if it's 6 versions you're upgrading, it
can take you around 3 days to upgrade.
אורי
u...@speedy.net


On Fri, Jan 31, 2020 at 12:53 PM Santhosh sridhar 
wrote:

> Hi,
> Im upgrading my django project from 1.8 to 2.2.0. I have done the below
> changes.
>
> 1. Added on_delete to all the Foreign Key fields
> 2. Changed the url reverse import as from django.urls import reverse
> 3. Included path/re_path instead of url in all the app's url files.
> 4. Changed the MIDDLEWARE_CLASSES import in settings files to MIDDLEWARE =
> {}
>
> I tried to run the server, still it says "TypeError: __init__() missing 1
> required positional argument: 'on_delete' and it is pointing
> to /usr2/santhosh/myproject/myapp/migrations/0002_abc.py
>
> What should I do now? Do I need to delete all the migration files and
> re-run python manage.py migrate or what?? Help me you are aware.
>
> Regards,
> Santhosh
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b907f25b-ffd3-462b-b3e9-5d87a20dd942%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeFdWwn%3DtYOvszXzEsBHtRpjJF9%2BzZUktz%3Deq_5mPBC0Jw%40mail.gmail.com.


Re: Upgrading django from 1.8 to 2.2.0

2020-02-02 Thread אורי
By the way, each time upgrade to the latest release of each version. So
it's 2.2.9 you should use. And all the latest versions on
https://www.djangoproject.com/download/ (1.9.13 etc.)
אורי
u...@speedy.net


On Fri, Jan 31, 2020 at 12:53 PM Santhosh sridhar 
wrote:

> Hi,
> Im upgrading my django project from 1.8 to 2.2.0. I have done the below
> changes.
>
> 1. Added on_delete to all the Foreign Key fields
> 2. Changed the url reverse import as from django.urls import reverse
> 3. Included path/re_path instead of url in all the app's url files.
> 4. Changed the MIDDLEWARE_CLASSES import in settings files to MIDDLEWARE =
> {}
>
> I tried to run the server, still it says "TypeError: __init__() missing 1
> required positional argument: 'on_delete' and it is pointing
> to /usr2/santhosh/myproject/myapp/migrations/0002_abc.py
>
> What should I do now? Do I need to delete all the migration files and
> re-run python manage.py migrate or what?? Help me you are aware.
>
> Regards,
> Santhosh
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b907f25b-ffd3-462b-b3e9-5d87a20dd942%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeF8LODtbNr1GHc6ZDObCcrep5HgrWmVZTpvrOdsFhvRTA%40mail.gmail.com.


How to iterate over inlineformset_factory fields only?

2020-02-02 Thread Tal Bar-Or


Hello,

I am trying to figure out how to access *inlineformset_factory* ,i set to 
represent my ForeignKey fields to present them in html i would like to 
iterate over those inlineformset_factory only in html, but i can't figure 
out how to achieve it, i can get display only field manually like 
{{form.task_description}} , but no luck to iterate over all ForeignKey 
fields , i would like to dispaly each object in collapse bs4
if someone could help me point to achieve it.

Please advice

Thanks


my view.py related class goes as follows
class TaskIdUpdateView(UpdateView):
taskidformset = inlineformset_factory(MainTask,ChildTask, fields=(
'task_description','task_info','task_complete',
'sub_task','task_precent_complete','task_due_date','task_assign'))
model = MainTask
template_name = "taskid_update.html"
form_class = TaskUpdateForm


my formd.py related class

class TaskUpdateForm(ModelForm):

TASK_STATUS_CHOICES = [
('ST', 'STARTED'),
('NS', 'NOT STARTED'),
('IP', 'IN PROGRESS'),
('PA', 'PAUSED'),
('CO', 'COMPLETED'),
]
INPUTֹTIMEֹFORMATS = ['%Y-%m-%d',  # '2006-10-25'
'%m/%d/%Y',
'%Y/%m/%d',   # '10/25/2006'
'%Y/%m/%d %H:%M',
'%m/%d/%y',
'%Y-%m-%d %H:%M:%S']   # '10/25/06'

#Main Task objects
task_title = forms.CharField(required=False, widget=forms.TextInput(
attrs={'class':'form-control','placeholder':'Task Title'}))
global_task_info = forms.CharField(required=True, widget=forms.Textarea(
attrs={'class':'form-control','placeholder':'Task Description'}))
due_date = forms.DateTimeField(required=False, input_formats=
INPUTֹTIMEֹFORMATS, widget=forms.DateTimeInput(attrs={
'class': 'form-control',
'id': 'picker'
}))
global_task_assign = forms.ModelChoiceField(queryset=
 UserProfile.objects.all(), widget=forms.Select(attrs={'class':
'form-control'} ))
task_status = forms.ChoiceField(label='', choices=TASK_STATUS_CHOICES, 
widget=forms.Select(attrs={'class':'form-control'}))
complete = forms.BooleanField( required=False, widget=
forms.CheckboxInput(attrs={'type':'checkbox', 'class':'custom-control-input'
, 'id':'switchcomplete'}))
overall_precent_complete = forms.IntegerField(widget=(forms.NumberInput(
attrs={'type':'range', 'min':'0', 'max':'100', 'value':'50', 'class':
'range-slider__range', 'id':'PreRange'})))
task_location = forms.CharField(widget=forms.TextInput(attrs={'class':
'form-control'}))

#Child Tasks objects
task_description = forms.CharField(max_length=200, widget=
forms.TextInput(attrs={'class':'form-control','placeholder':
'Sub Task Description'}))
task_info = forms.CharField(max_length=500, widget=forms.Textarea(attrs=
{'class':'form-control','placeholder':'Sub Task Description'}))
task_complete = forms.BooleanField( required=False, widget=
forms.CheckboxInput(attrs={'type':'checkbox', 'class':'custom-control-input'
, 'id':'switchcomplete'}))
sub_task = forms.CharField(max_length=500, widget=forms.Textarea(attrs={
'class':'form-control','placeholder':'Sub Task Description'}))
task_precent_complete = forms.IntegerField(widget=(forms.NumberInput(
attrs={'type':'range', 'min':'1', 'max':'100', 'value':'50', 'class':
'slider', 'id':'myRange'})))
task_due_date = forms.DateTimeField(input_formats=INPUTֹTIMEֹFORMATS, 
widget=forms.DateTimeInput(attrs={
'class': 'form-control',
'id': 'picker'
}))
task_assign = forms.ModelChoiceField(queryset=
 UserProfile.objects.all(), widget=forms.Select(attrs={'class':
'form-control'} ))
  
class  Meta:

model = MainTask
fields = ['task_title',
'global_task_info',
'due_date',
'global_task_assign',
'task_status',
'complete',
'overall_precent_complete',
'task_location',
'global_task_assign',
'task_status',]

taskidformset = inlineformset_factory(MainTask, ChildTask, fields=(
'task_description','task_info','task_complete',
'sub_task','task_precent_complete','task_due_date','task_assign'
))



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/89d1f875-07f0-41ae-bc6e-6b81689a89e5%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread Nabil Mokhtar
Let's make group

On Sun, Feb 2, 2020, 15:46 Bryan Maxx  wrote:

> Hello, I am interested in learning Python with you.
>
> On Sat, Feb 1, 2020, 4:42 PM Srikanth K  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends). Members
>> who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKHMJxqXpEHjMMP9owLmRVTT%3DPEyWOpZK-T5z998p%2BR22RzB%3DQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKgi3KHwzK11SZW7zW_O%2BoWF60CzUDBppVWeef_VPGj%3DXm%3DCHw%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Maqdum Adewale
I'm interested

On Sun, Feb 2, 2020, 3:44 PM yerri swamy  wrote:

> I am also intrested..
>
> On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends). Members
>> who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B48qrFGwBVGhdpPyCSqN_6GdjiDAj%3DSp-4CF74YWN7eZgOfwA%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Daman Diawara
Intéressé 

DaMaN DiaWarA

> Le 2 févr. 2020 à 15:43, yerri swamy  a écrit :
> 
> I am also intrested..
> 
>> On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:
>> Hi,
>> 
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take up 
>> any Python , Django Training (online Preferrable or Weekends). Members who 
>> require can contact me or share me  there idea.
>> 
>> Regards,
>> Srikanth.K
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com.
> 
> -- 
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7980CA90-5A56-423F-B4F0-B68A70CC9D31%40gmail.com.


Re: Python Django Training

2020-02-02 Thread JEGATHEESWARAN SUNDARAVADIVEL
Hi
I am interested to attend the python and Django training, could you tell me
the details

On Sun, 2 Feb 2020 at 20:15, yerri swamy  wrote:

> I am also intrested..
>
> On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends). Members
>> who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com
> 
> .
>
-- 
JAGATHEESWARAN

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHM%2BSVo3n69PdbZNV%3DH0_jAoo4F_tH1cDXFuWZ-90o69EoMeTg%40mail.gmail.com.


Re: Upgrading django from 1.8 to 2.2.0

2020-02-02 Thread אורי
When you upgrade Django with pip, you can install the latest version of 1.9
with `pip install --upgrade "Django>=1.8,<1.10"` and then the same for each
version, until you want the latest version of 2.2 and then
use "Django>=1.8,<3.0". (actually the 1.8 is not needed here, you can also
use 2.2 etc.)

אורי
u...@speedy.net


On Fri, Jan 31, 2020 at 12:53 PM Santhosh sridhar 
wrote:

> Hi,
> Im upgrading my django project from 1.8 to 2.2.0. I have done the below
> changes.
>
> 1. Added on_delete to all the Foreign Key fields
> 2. Changed the url reverse import as from django.urls import reverse
> 3. Included path/re_path instead of url in all the app's url files.
> 4. Changed the MIDDLEWARE_CLASSES import in settings files to MIDDLEWARE =
> {}
>
> I tried to run the server, still it says "TypeError: __init__() missing 1
> required positional argument: 'on_delete' and it is pointing
> to /usr2/santhosh/myproject/myapp/migrations/0002_abc.py
>
> What should I do now? Do I need to delete all the migration files and
> re-run python manage.py migrate or what?? Help me you are aware.
>
> Regards,
> Santhosh
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b907f25b-ffd3-462b-b3e9-5d87a20dd942%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABD5YeH0Tos9_GtgqkL0JDaM0_4wckmspUONPz7X2EuK%3DOjd7A%40mail.gmail.com.


Re: Upgrading django from 1.8 to 2.2.0

2020-02-02 Thread Maqdum Adewale
i dont know why any time i run my django website with opra_mini browser it
always bring source code

‪On Sun, Feb 2, 2020 at 7:49 AM ‫אורי‬‎  wrote:‬

> By the way, each time upgrade to the latest release of each version. So
> it's 2.2.9 you should use. And all the latest versions on
> https://www.djangoproject.com/download/ (1.9.13 etc.)
> אורי
> u...@speedy.net
>
>
> On Fri, Jan 31, 2020 at 12:53 PM Santhosh sridhar <
> santhosh.sr...@gmail.com> wrote:
>
>> Hi,
>> Im upgrading my django project from 1.8 to 2.2.0. I have done the below
>> changes.
>>
>> 1. Added on_delete to all the Foreign Key fields
>> 2. Changed the url reverse import as from django.urls import reverse
>> 3. Included path/re_path instead of url in all the app's url files.
>> 4. Changed the MIDDLEWARE_CLASSES import in settings files to MIDDLEWARE
>> = {}
>>
>> I tried to run the server, still it says "TypeError: __init__() missing 1
>> required positional argument: 'on_delete' and it is pointing
>> to /usr2/santhosh/myproject/myapp/migrations/0002_abc.py
>>
>> What should I do now? Do I need to delete all the migration files and
>> re-run python manage.py migrate or what?? Help me you are aware.
>>
>> Regards,
>> Santhosh
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/b907f25b-ffd3-462b-b3e9-5d87a20dd942%40googlegroups.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeF8LODtbNr1GHc6ZDObCcrep5HgrWmVZTpvrOdsFhvRTA%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B48qrGeD7uBHF45F44ZcqPADfEcVaRfXuKm9dyggbUo%2BjtsHw%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread V S V Narsimha Murthy
Hi Everyone,

I am interested to attend the python and Django training. Please add my
email as well for the training classes.

Thanks in advance.

Regards,
Narasimha Murthy

On Sun, Feb 2, 2020 at 9:25 PM Maqdum Adewale  wrote:

> I'm interested
>
> On Sun, Feb 2, 2020, 3:44 PM yerri swamy 
> wrote:
>
>> I am also intrested..
>>
>> On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:
>>
>>> Hi,
>>>
>>> I am from Hyderabad. I am Python Developer by Profession. I am eager
>>> take up any Python , Django Training (online Preferrable or Weekends).
>>> Members who require can contact me or share me  there idea.
>>>
>>> Regards,
>>> Srikanth.K
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2B48qrFGwBVGhdpPyCSqN_6GdjiDAj%3DSp-4CF74YWN7eZgOfwA%40mail.gmail.com
> 
> .
>


-- 
Thanks
Narasimha Murthy

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE%3D5Kz4OwOG3kVy48NWtWDXQYrtgCy5jB%2BY9jfUu2%3DJ_6g8tzA%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread V S V Narsimha Murthy
Hi

I am interested to attend the python and Django online training. Please add 
me as well for the training classes. 

Thanks in advance.


On Saturday, February 1, 2020 at 7:12:52 PM UTC+5:30, Srikanth K wrote:
>
> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take 
> up any Python , Django Training (online Preferrable or Weekends). Members 
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6de934a0-f065-480b-8bc7-ec1204a02ab8%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread 'Silver Moon' via Django users
 I am interested too
On Sunday, February 2, 2020, 09:33:20 PM GMT+5, V S V Narsimha Murthy 
 wrote:  
 
 Hi Everyone,
I am interested to attend the python and Django training. Please add my email 
as well for the training classes. 

Thanks in advance.
Regards,Narasimha Murthy

On Sun, Feb 2, 2020 at 9:25 PM Maqdum Adewale  wrote:

I'm interested
On Sun, Feb 2, 2020, 3:44 PM yerri swamy  wrote:

I am also intrested..
On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:

Hi,
I am from Hyderabad. I am Python Developer by Profession. I am eager take up 
any Python , Django Training (online Preferrable or Weekends). Members who 
require can contact me or share me  there idea.
Regards,Srikanth.K

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com.



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKMSwL9eDJMGh6Jc20fureSvx%3DeZrDPtbWFhcjTKEzU4rQbHXA%40mail.gmail.com.



-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2B48qrFGwBVGhdpPyCSqN_6GdjiDAj%3DSp-4CF74YWN7eZgOfwA%40mail.gmail.com.



-- 
Thanks
Narasimha Murthy 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAE%3D5Kz4OwOG3kVy48NWtWDXQYrtgCy5jB%2BY9jfUu2%3DJ_6g8tzA%40mail.gmail.com.
  

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2093332895.585509.1580663544528%40mail.yahoo.com.


Re: Python Django Training

2020-02-02 Thread 'Samson Chapuramhuka' via Django users
Add me

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4242dc9a-8460-47f9-851a-91b5de1fb315%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread Bishub Medhi

I am also interested to learn from you
On Saturday, February 1, 2020 at 7:12:52 PM UTC+5:30, Srikanth K wrote:
>
> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take 
> up any Python , Django Training (online Preferrable or Weekends). Members 
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/12b13ec4-2687-49ac-a2e5-882549536d51%40googlegroups.com.


Python Django Training

2020-02-02 Thread brett Fodor
Add me

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6950bbaa-eccd-49d7-ae35-b98284a37e62%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread Chucky Mada Madamombe
Interested!

Regards

Chuck G. Madamombe
NAM: +264 81 842 1284
RSA: +27 78 208 7034
Twitter: @chuckygari
Skype: chuckygari
Facebook: Chucky Mada Madamombe
LinkedIn: Chucknorris Garikayi Madamombe

On Sun, 2 Feb 2020, 19:51 brett Fodor  wrote:

> Add me
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6950bbaa-eccd-49d7-ae35-b98284a37e62%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJaKOseuZMCco5pSHPzW7a-SyY-8vgaXbxQzS-4JbOPuqOm6MA%40mail.gmail.com.


Python Django Training

2020-02-02 Thread Sarvesh singh
I m also want to learn.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6d5c9ce0-50b7-4391-9f2b-f192a41d1b89%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread Nabil Mokhtar
Ok we now have many interested members
Any one suggest group app we can share material on it with our questions to
keep us connected

On Sun, Feb 2, 2020, 20:11 Sarvesh singh  wrote:

> I m also want to learn.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6d5c9ce0-50b7-4391-9f2b-f192a41d1b89%40googlegroups.com
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKgi3KEAjaUbLrCb2C3V-QmM1P42iWMKb3U8MisN9BxqdpZAiw%40mail.gmail.com.


Saleor Full Stack

2020-02-02 Thread Richard Balwane
Hello Members,
I had been working on a project following Saleor files. The makers of
Saleor, Mirumee, dropped the fullstack files from github and are no where
found. and, I lost my original files. These include templates and the .py
files. Please, if anyone has these files intact or a like to them, help me
with the whole Saleor folder, otherwise am stuck.

Thank you.


*Richard Dick Balwane*

*Mobiles:+256 755 442248, *

*+256 781 493558.*
*Twiter:   @RBalwane*
*WhatsApp:   **+256 755 442248*


*Balwane Holding Inc.*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAjYwK8vSM%2BnKxUtTzrY3-8oy%3DKP8NBjrxecgH5e7rp9yRkAcw%40mail.gmail.com.


Re: Test -Error :AssertionError: 404 != 200

2020-02-02 Thread Integr@te System
Hi man,

How about pk you expect to test by declare in test.py with '/post/264, so
!= 200 in result!?


On Sun, Feb 2, 2020, 22:05 Body Abdo  wrote:

> Dear all
>
> I can't do the test -error is
> self.assertEqual(response.status_code, 200)
> AssertionError: 404 != 200
> My code is
> views.py
>
> class DetailPageView(DetailView):
> model = Series
> 
> template_name='/var/www/project/tapelss/movies/archive/templates/archive/detail.html'
>
>
> urls.py
>
> app_name = 'archive'
> urlpatterns =[
> path('',views.indexing, name ='indexing'),
> path('post//', DetailPageView.as_view(), name='post_detail'),
> path('post',HomePageView.as_view(), name ='home'),
> path('page',views.page, name= 'page'),
>
>
> tests.py
>
> def test_post_detail_view(self):
> response = self.client.get('/post/264/')
> no_response = self.client.get('/post/100/')
> self.assertEqual(response.status_code, 200)
> self.assertEqual(no_response.status_code, 404)
> self.assertContains(response,'Nice body content')
> self.assertTemplateUsed(response, 'detail.html')
>
>
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/284f9aed-8da2-4697-936c-a86a380f00a5%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP5HUWqTPBf%3DYpHWBZOVdXWmyTfY2KwhWiy7V%3DqREY_nYuRdpw%40mail.gmail.com.


Re: using Django to create/build enterprise e-commerce system

2020-02-02 Thread Thierno lamine Balde
Dear Sir/Madam:


We are actually doing django development and we have already worked in
e-commerce projects

We work mainly in python and javascritp on all our projects.
So we have enough experience in the field.
If you ask us, we will spare no effort to carry out your project.

Cordially.


BALDE Thierno Lamine

00224 621 82 15 50

tlbbald...@gmail.com

Le sam. 1 févr. 2020 à 17:13, Henry Udoye  a écrit :

> I need the following:
>
> *ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS OUTLINED OR MENTIONED OR
> LISTED BELOW AND THE ENTERPRISE E-COMMERCE APPLICATIONS COMPONENTS
> INTEGRATOR(S) TO PUT OR GLUE THEM TOGETHER.*
>
> Custom web applications (including e-commerce applications or components
> and/or software development)
>
> Search product or engine or crawler or spider or intelligent agent
>
> Connector or connectivity or connection (to the database)
>
> Database
>
> Analytics or query tool or data modeler
>
> Content creator or aggregator or composition or article or content writer
> or chief spinner
>
> API Creator
>
> API Integrator or connector
>
> API Manager
>
> Opt-in tool
>
> Auto-responder or auto-responding/ email marketing
>
> Record tracking tool
>
> Payment method or gateway or payment processing system
>
> Automation and/or scripting creation or generation tool
>
> Auto-posting
>
> Auto-retrieval
>
> Auto-extraction
>
> Auto-blogging and
>
> Custom API server with multiple end points and multiple clients.
>
> Enterprise E-Commerce Applications Components System Integrator(s).
>
> 14000 to 15000 APIs Catalog or Repository
>
> NOTE: We have all or the entire E-Commerce applications components such
> that with proper sense of flexibility, extensibility, interoperability,
> integration and the related these components can be put together as a
> component-based e-commerce architecture. Given that these components are
> earmarked, mentioned, outlined and enumerated in the documents and are
> standard IT products I expect a professional to be able to understand and
> estimate (time and money) the project.
>
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/fdca358e-06a2-4e01-9164-d49611d7aad9%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAApfd3YskmRcx9qHyOP%2B09a1Vz4ifrGoKc-gocb8JSGPS%3DrAkg%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Sarvesh singh
Through Telegram channel group

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5571cae3-106f-4419-ad80-ef8be2746ca8%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread VICTOR EJIOFOR
On Saturday, February 1, 2020 at 2:42:52 PM UTC+1, Srikanth K wrote:
> Hi,
> 
> 
> I am from Hyderabad. I am Python Developer by Profession. I am eager take up 
> any Python , Django Training (online Preferrable or Weekends). Members who 
> require can contact me or share me  there idea.
> 
> 
> Regards,
> Srikanth.K


Please I am interested in learning how do I join

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/79e58e78-0bb0-4a38-b895-2197d2083a60%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread May

hello .. please add me, i like to learn  ..


On Saturday, February 1, 2020 at 4:42:52 PM UTC+3, Srikanth K wrote:
>
> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take 
> up any Python , Django Training (online Preferrable or Weekends). Members 
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7a22a7f1-9a49-4869-a10c-fa1a346fac1c%40googlegroups.com.


Re: want to create multiple tables for the same app in Django

2020-02-02 Thread Pawan Kumar
Thanks Team,

Definitely i am able to create multiple tables using models . 
But I was planning to implement a solution with following scenario--

I have 16 different tables & these can be rendered to multiple html pages .
Is it possible to render particular table on single page dynamically , 
means if i click on particular href link  a particular table is fetched . 


warm regards
Pawan kumar

On Thursday, January 30, 2020 at 4:05:05 PM UTC+5:30, maninder singh Kumar 
wrote:
>
> Write as many models for tables reqd in db
> What is the problem you are facing ?
> Could it be the tables don't appear in all HTML!
>
> Sent from my iPad
>
> On 29-Jan-2020, at 9:32 PM, Pawan Kumar > 
> wrote:
>
> Hi Team,
>
> I want to create multiple tables for the same app in Django & data from 
> these tables is required to be shown in multiple html pages . 
> My existing table using models.py is  ...
>
>
> from django.db import models
> # Create your models here.
>
> class IAM(models.Model):
> node = models.CharField(max_length=50)
> status = models.CharField(max_length=50)
> component = models.CharField(max_length=100)
> dbversion = models.CharField(max_length=50)
> version_no = models.CharField(max_length=50)
> dbversion = models.CharField(max_length=50)
> def __str__(self):
> return self.component
>
> -- 
> 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...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/4a302377-62eb-4de7-a451-caf58f46d41d%40googlegroups.com
>  
> 
> .
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a0d839f5-0a64-447c-918e-6198d267e81c%40googlegroups.com.


Re: Python Django Training

2020-02-02 Thread N Rupesh
 i am also learning django. but, i am beginner stage. add me,in your groups

On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJTpUzn%2Btudjh4Oi%2BY1mpdiX4RchqfdSovmhyKSz4oH_rj6F-w%40mail.gmail.com.


Multiple registration and login in django

2020-02-02 Thread nrupesh08
Hi, 
How to create multiple registration in django. and login also. without 
default django registeration and login form.
my own and saparet registration table and login table . to authencation my 
own tables (registration and login).

ex: registration table (id, name, email, mobile, date of birth, gender, 
password, profile pic) and leaterly, upload files an individual persons 
through registration id.

plese tell me how do it? or reference code or links send me 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fed4307f-30b5-48b7-ba67-bd70e756b472%40googlegroups.com.


How to include choice value into queryset?

2020-02-02 Thread Leon Vaks
Dear Community Members,

How would you include choice value into queryset specified in my models.py?
When I run the following code in the terminal panel, I am getting correct
results.
i = Interactions.objects.get(pk=1)
i.get_interactioncatid_display() # correct answer

My query is the following:
def get_queryset(self):
return super().get_queryset().values_list( 'company__compname',
'position__company', 'position__jobtitle', 'position__status', \
'firstname', 'lastname', 'interactions__duration',
'interactions__durationunits',\
'interactions__interactioncatid', 'position__origination').annotate(location
=Concat('position__city', Value(" "), 'position__state'),\
followupdate=Max('interactions__taskdatetime'))


Instead of interactioncatid, there should be corresponding choice value.
Code for models.py is included.
from django.db import models
from django.db.models import Value, Max
from django.db.models.functions import Concat

class ContactManager(models.Manager):

def get_queryset(self):
return super().get_queryset().values_list( 'company__compname',
'position__company', 'position__jobtitle', 'position__status', \
'firstname', 'lastname', 'interactions__duration',
'interactions__durationunits',\
'interactions__interactioncatid', 'position__origination').annotate(location
=Concat('position__city', Value(" "), 'position__state'),\
followupdate=Max('interactions__taskdatetime'))


class Company(models.Model):

compname = models.CharField( max_length=50, unique = True)
compwebsite = models.CharField( max_length=250, blank=True, null=True)
def __str__(self):
return self.compname
class Position(models.Model):
company = models.ForeignKey(Company, on_delete=models.CASCADE)
jobtitle = models.CharField( max_length=50)
origination = models.CharField(max_length=100, blank=True, null=True)
status = models.CharField(max_length=50, blank=True, null=True)
city = models.CharField(max_length=50, blank=True, null=True)
state = models.CharField(max_length=20, blank=True, null=True)
objects = models.Manager() # to be added to model if customer manager is
being used
poscomp_objects = PosCompManager() # position and company -specific manager.
def __str__(self):
return '{} {}'.format(self.jobtitle, str(self.createdate.date()))

class Contacts(models.Model):
company = models.ForeignKey(Company, on_delete=models.CASCADE)
position = models.ForeignKey(Position, on_delete=models.CASCADE)
firstname = models.CharField( max_length=50, blank=True, null=True)
lastname = models.CharField(max_length=50, blank=True, null=True)
objects = models.Manager() # to be added to model if customer manager is
being used
Contact_objects = ContactManager()

class Meta:
unique_together = [['firstname', 'lastname']]

def __str__(self):
return self.firstname + " " + self.lastname

class Interactions(models.Model):
interactionCategories = (
(1, 'Call')
,(2, 'Text')
,(3, 'Email')
,(4, 'Skype')
)
contact = models.ForeignKey(Contacts, on_delete=models.CASCADE)
interactioncatid = models.IntegerField(choices=interactionCategories,
default=3) # choices
taskdatetime = models.DateTimeField( blank=True, null=True)
duration = models.IntegerField(blank=True, null=True)
durationunits = models.CharField(max_length=20, blank=True, null=True)

objects = models.Manager()
def __str__(self):
return str(self.interactioncatid)

Thank you ahead,
Leon

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACV5%2B_WdK%2BPcyVQ%2BZyfuy5JpgFQ3kpJGqhQ2pz7uExBXa_k9ow%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Praveen Kumar
I'm interested

On Sat, Feb 1, 2020, 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACdZTY_y%2BcOq%3Da2-N6E5YtfZfZ5XDcL9fxGPMXD3PVoA3Lo18A%40mail.gmail.com.


Re: want to create multiple tables for the same app in Django

2020-02-02 Thread Suraj Thapa FC
You must be trolling...
On Mon, 3 Feb 2020, 9:55 am Pawan Kumar,  wrote:

> Thanks Team,
>
> Definitely i am able to create multiple tables using models .
> But I was planning to implement a solution with following scenario--
>
> I have 16 different tables & these can be rendered to multiple html pages .
> Is it possible to render particular table on single page dynamically ,
> means if i click on particular href link  a particular table is fetched .
>
>
> warm regards
> Pawan kumar
>
> On Thursday, January 30, 2020 at 4:05:05 PM UTC+5:30, maninder singh Kumar
> wrote:
>>
>> Write as many models for tables reqd in db
>> What is the problem you are facing ?
>> Could it be the tables don't appear in all HTML!
>>
>> Sent from my iPad
>>
>> On 29-Jan-2020, at 9:32 PM, Pawan Kumar  wrote:
>>
>> Hi Team,
>>
>> I want to create multiple tables for the same app in Django & data from
>> these tables is required to be shown in multiple html pages .
>> My existing table using models.py is  ...
>>
>>
>> from django.db import models
>> # Create your models here.
>>
>> class IAM(models.Model):
>> node = models.CharField(max_length=50)
>> status = models.CharField(max_length=50)
>> component = models.CharField(max_length=100)
>> dbversion = models.CharField(max_length=50)
>> version_no = models.CharField(max_length=50)
>> dbversion = models.CharField(max_length=50)
>> def __str__(self):
>> return self.component
>>
>> --
>> 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...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4a302377-62eb-4de7-a451-caf58f46d41d%40googlegroups.com
>> 
>> .
>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a0d839f5-0a64-447c-918e-6198d267e81c%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPjsHcGG6ny7h-5G9CC91by%3DZkpy3XXUHVt9XRJWRucBpG_9_Q%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Sarvesh singh
good idea sir,
please start it early.
i prefer to online video and share a videos on telegram group .
if someone have any doubt than ask questions in same group by this group
idea all members are connected to  each other and to solve the queries.

On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK3CZUZWUbwMhAdqU1W2qUXJcneU8_hYa4SdvSeZwEui_bPHRQ%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Sarvesh singh
i am very passionate to learn django more.
thanks to you for your support.


On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK3CZUZ5vwO3ejKf5FpU_i5cQxH%3Dq65TgHKBY44Fu7GDZT2TLw%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread sagar ninave
i am also interested please add me
whats app : 9657445206
Email : sagarnin...@gmail.com

On Mon, Feb 3, 2020 at 11:33 AM Sarvesh singh  wrote:

> i am very passionate to learn django more.
> thanks to you for your support.
>
>
> On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends). Members
>> who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAK3CZUZ5vwO3ejKf5FpU_i5cQxH%3Dq65TgHKBY44Fu7GDZT2TLw%40mail.gmail.com
> 
> .
>


-- 

sagar ninave
about.me/sagarninave


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAA6pdZ93Ev%3DqmS9dsnS4jDCeivVni88RnYBo0gRkH3bbkcf-_g%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread Charles Jason Decena
i am also interested
Charles Jason Decena

Developer

33F UnionBank Plaza Bldg., Meralco Ave.
Ortigas Center, Pasig City
www.ubx.ph 
[image: linkedin] 
[image: facebook] 
[image: twitter] 


On Mon, Feb 3, 2020 at 2:27 PM sagar ninave  wrote:

> i am also interested please add me
> whats app : 9657445206
> Email : sagarnin...@gmail.com
>
> On Mon, Feb 3, 2020 at 11:33 AM Sarvesh singh  wrote:
>
>> i am very passionate to learn django more.
>> thanks to you for your support.
>>
>>
>> On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:
>>
>>> Hi,
>>>
>>> I am from Hyderabad. I am Python Developer by Profession. I am eager
>>> take up any Python , Django Training (online Preferrable or Weekends).
>>> Members who require can contact me or share me  there idea.
>>>
>>> Regards,
>>> Srikanth.K
>>>
>>> --
>>> 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 view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAK3CZUZ5vwO3ejKf5FpU_i5cQxH%3Dq65TgHKBY44Fu7GDZT2TLw%40mail.gmail.com
>> 
>> .
>>
>
>
> --
>
> 
> sagar ninave
> about.me/sagarninave
> 
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAA6pdZ93Ev%3DqmS9dsnS4jDCeivVni88RnYBo0gRkH3bbkcf-_g%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADnnF6NSTDTimpiJGMSw2YPzu6NA9PFE3vBSRe-q%2BiM3AvbdpQ%40mail.gmail.com.


Saleor Fullstack

2020-02-02 Thread Richard Balwane
Hello Members,
I had been working on a project following Saleor files. The makers of
Saleor, Mirumee, dropped the fullstack files from github and are no where
found. and, I lost my original files. These include templates and the .py
files. Please, if anyone has these files intact or a like to them, help me
with the whole Saleor folder, otherwise am stuck.

Thank you.


*Richard Dick Balwane*

*Mobiles:+256 755 442248, *

*+256 781 493558.*
*Twiter:   @RBalwane*
*WhatsApp:   **+256 755 442248*


*Balwane Holding Inc.*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAjYwK-OpewjzXEC_%3DzoBg-HS7f0jTqjeCKE6CQoo8ySKcgdqA%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread yerri swamy
Please add me .
What's app :9182473328
Email : dussayerrisw...@gmail.com


On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKMSwL8i5qb0BgjA7X2QOS%3DQXHHoZUnzPpQ8WruqncphZuX9nA%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread shailendra singh
I am also interested

On Mon, Feb 3, 2020 at 10:09 AM N Rupesh  wrote:

>  i am also learning django. but, i am beginner stage. add me,in your groups
>
> On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:
>
>> Hi,
>>
>> I am from Hyderabad. I am Python Developer by Profession. I am eager take
>> up any Python , Django Training (online Preferrable or Weekends). Members
>> who require can contact me or share me  there idea.
>>
>> Regards,
>> Srikanth.K
>>
>> --
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
>> 
>> .
>>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJTpUzn%2Btudjh4Oi%2BY1mpdiX4RchqfdSovmhyKSz4oH_rj6F-w%40mail.gmail.com
> 
> .
>


-- 
*Thanks & Regards,*
Shailendra Singh

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOOJk%3DVemAYGH%3DNoMJYPheski-iPus4Ko8S%3D3OA_Y5ARJP0MyA%40mail.gmail.com.


Re: Python Django Training

2020-02-02 Thread shailendra singh
I am also interested .. Please add me in group. My contact no- 91-7786865657

On Sat, Feb 1, 2020 at 7:12 PM Srikanth K  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager take
> up any Python , Django Training (online Preferrable or Weekends). Members
> who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%40mail.gmail.com
> 
> .
>


-- 
*Thanks & Regards,*
Shailendra Singh

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOOJk%3DU4tVOeKpuss6aO%2BSv%2BUnQSgf6O6kmYWm6yn%2BCX43KAfA%40mail.gmail.com.