Re: hi everyone

2018-11-11 Thread akash kandpal
I mean we can see some working projects and learn from it by implementing
them ourselves and thus it will be more of a learning opportunity for us.


Regards,
Akash Kandpal.

On Mon, Nov 12, 2018, 12:22 PM Joel  I don't really understand what you mean. How can you put something on your
> resume when you haven't contributed to it?
>
> On Mon, 12 Nov, 2018, 12:06 PM ramakurthy swamy  wrote:
>
>> hi sir thank u for giving reply and the real time means what the present
>> projects are going on company based on python and django,,,
>> And i have a two years gap in my academic period based on that project i
>> want to fill-up that gap so plz kindly help
>>
>> On Sun, Nov 11, 2018 at 7:45 PM PASCUAL Eric 
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> What do you mean exactly by "real time" ? Can you describe the project
>>> you are thinking about ?
>>>
>>>
>>> "Real time" relates to a very specific class of software, which one of
>>> the characteristics is to react to external events in a (most often) short
>>> and, *deterministic* time. For sure, neither Python nor Django fulfill
>>> the involved technical requirements, especially considering the
>>> deterministic property which is one of the RT non negotiable aspect.
>>>
>>>
>>> BTW can you elaborate a bit on what you mean by "i want to keep that
>>> project in my resume" ?
>>>
>>>
>>> Regards
>>>
>>>
>>> Eric
>>> --
>>> *From:* django-users@googlegroups.com 
>>> on behalf of ramakurthy swamy 
>>> *Sent:* Sunday, November 11, 2018 2:29:51 PM
>>> *To:* Django users
>>> *Subject:* hi everyone
>>>
>>> i am looking for real time project based on python and django plz help
>>> `me and i want to keep that project in my resume plz help me guiess
>>>
>>> --
>>> 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 django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/f7b6adcd-4d1a-4f3a-abc7-b659be3c842c%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/f7b6adcd-4d1a-4f3a-abc7-b659be3c842c%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> 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 django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/VI1P193MB04326D4B9AAA3A7EA2A856348CC00%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM
>>> <https://groups.google.com/d/msgid/django-users/VI1P193MB04326D4B9AAA3A7EA2A856348CC00%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHa6oC9WoybinQcMjYR2FvzcSohAfz6Yk_99xAP5_zB669MvAg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHa6oC9WoybinQcMjYR2FvzcSohAfz6Yk_99xAP5_zB669MvAg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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, 

Re: hi everyone

2018-11-11 Thread akash kandpal
I am also looking for some example with  code on such projects.Specially, I
am  looking for some complete websites or working projects on django to
learn it's backend part and connectivity with database. If any such project
is found, please infrom me too. @ramakurthy Here is my whatsaap no
9654263057. We can work on such projects together, I am  final year
undergrad from Delhi,  India.

On Mon, Nov 12, 2018 at 12:06 PM ramakurthy swamy 
wrote:

> hi sir thank u for giving reply and the real time means what the present
> projects are going on company based on python and django,,,
> And i have a two years gap in my academic period based on that project i
> want to fill-up that gap so plz kindly help
>
> On Sun, Nov 11, 2018 at 7:45 PM PASCUAL Eric  wrote:
>
>> Hi,
>>
>>
>> What do you mean exactly by "real time" ? Can you describe the project
>> you are thinking about ?
>>
>>
>> "Real time" relates to a very specific class of software, which one of
>> the characteristics is to react to external events in a (most often) short
>> and, *deterministic* time. For sure, neither Python nor Django fulfill
>> the involved technical requirements, especially considering the
>> deterministic property which is one of the RT non negotiable aspect.
>>
>>
>> BTW can you elaborate a bit on what you mean by "i want to keep that
>> project in my resume" ?
>>
>>
>> Regards
>>
>>
>> Eric
>> --
>> *From:* django-users@googlegroups.com  on
>> behalf of ramakurthy swamy 
>> *Sent:* Sunday, November 11, 2018 2:29:51 PM
>> *To:* Django users
>> *Subject:* hi everyone
>>
>> i am looking for real time project based on python and django plz help
>> `me and i want to keep that project in my resume plz help me guiess
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f7b6adcd-4d1a-4f3a-abc7-b659be3c842c%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/f7b6adcd-4d1a-4f3a-abc7-b659be3c842c%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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 django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/VI1P193MB04326D4B9AAA3A7EA2A856348CC00%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM
>> <https://groups.google.com/d/msgid/django-users/VI1P193MB04326D4B9AAA3A7EA2A856348CC00%40VI1P193MB0432.EURP193.PROD.OUTLOOK.COM?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHa6oC9WoybinQcMjYR2FvzcSohAfz6Yk_99xAP5_zB669MvAg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHa6oC9WoybinQcMjYR2FvzcSohAfz6Yk_99xAP5_zB669MvAg%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
<https://about.me/akashkandpal?promo=email_sig_source=product_medium=email_sig_campaign=edit_panel_content=thumb>
Akash Kandpal
about.me/akashkandpal
<https://about.me/akashkandpal?promo=email_sig_source=product_medium=email_sig_campaign=edit_panel_content=thumb>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPND-h5Ta0b7%3DyUpKKhjBpoHHqc46witdyOEjbb4_vnNHZaPZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ManyToMany relationship with through_fields and Admin

2018-08-28 Thread akash kandpal
What changes you did ?

Regards,
Akash Kandpal.

On Wed, Aug 29, 2018, 12:34 AM Vincent  wrote:

> I figured it out :
>
> from django.db import models
> from django.contrib.auth.models import User
>
>
> # Create your models here.
> class Events(models.Model):
>  Name = models.CharField(max_length=64)
>  Date = models.DateTimeField()
>  Description = models.CharField(max_length=200)
>  Admin = models.ForeignKey(User, models.SET_NULL, blank=True, null=True,
> related_name='event_admin')
>  Status = models.PositiveIntegerField(default=0)
>  Attendees = models.ManyToManyField(User, through='Attend',through_fields
> =('events','attendees'))
>
>  def __str__(self):
>  return self.Name
>
>
>
>
> class Attend(models.Model):
>  events = models.ForeignKey(Events, on_delete=models.CASCADE)
>  attendees = models.ForeignKey(User, on_delete=models.CASCADE,
> related_name='attendees')
>  PlusOne = models.ForeignKey(User, on_delete=models.CASCADE, related_name=
> 'PlusOne')
>
>  class Meta:
>  unique_together = (('events', 'attendees'),)
>
> from django.contrib import admin
> from .models import Events
> from .models import Attend
> from django.contrib.auth.models import User
>
>
>
>
> # Register your models here.
>
>
> class AttendInline(admin.TabularInline):
>  model = Attend
>  extra = 1
>
>
> class EventsAdmin(admin.ModelAdmin):
>  inlines = [ AttendInline, ]
>
>
>
>
> admin.site.register(Events, EventsAdmin)
>
>
>
> Le mardi 28 août 2018 00:44:49 UTC+2, Vincent a écrit :
>>
>> Hello,
>>
>> I'm new to Django and i'm trying to made a simple app in which users can
>> attend to an event. I'm trying to have this manageable through the admin
>> site but i get the following error :
>> : (admin.E202) fk_name 'attendees'
>> is not a ForeignKey to 'evenement.Events'.
>>
>> My goal is to have an interface to create the event and add users in the
>> event.
>>
>> Here are my models :
>>
>> from django.db import models
>> from django.contrib.auth.models import User
>>
>>
>> # Create your models here.
>> class Events(models.Model):
>>  Name = models.CharField(max_length=64)
>>  Date = models.DateTimeField()
>>  Description = models.CharField(max_length=200)
>>  Admin = models.ForeignKey(User, models.SET_NULL, blank=True, null=True,
>> related_name='event_admin')
>>  Status = models.PositiveIntegerField(default=0)
>>  Attendees = models.ManyToManyField(User, through='Attend',through_fields
>> =('events','attendees'))
>>
>>  def __str__(self):
>>  return self.Name
>>
>>
>> class Attend(models.Model):
>>  events = models.ForeignKey(Events, on_delete=models.CASCADE)
>>  attendees = models.ForeignKey(User, on_delete=models.CASCADE)
>>  PlusOne = models.ForeignKey(User, on_delete=models.CASCADE, related_name
>> ='PlusOne')
>>
>> And the admin.py
>>
>> from django.contrib import admin
>> from .models import Events
>> from .models import Attend
>> from django.contrib.auth.models import User
>>
>>
>>
>>
>> # Register your models here.
>>
>>
>> class AttendInline(admin.TabularInline):
>>  model = Attend
>>  fk_name = "attendees"
>>  extra = 1
>>
>>
>> class UserAdmin(admin.ModelAdmin):
>>  inlines = [ AttendInline, ]
>>
>>
>> class EventsAdmin(admin.ModelAdmin):
>>  inlines = [ AttendInline, ]
>>
>>
>>
>>
>> admin.site.unregister(User)
>> admin.site.register(User, UserAdmin)
>>
>>
>> admin.site.register(Events, EventsAdmin)
>>
>>
>> Your help will be much appreciated !
>>
>> Thank you
>>
>> Vincent
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/690d5956-6348-4ae3-99bf-030e7df91cdb%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/690d5956-6348-4ae3-99bf-030e7df91cdb%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPND-h6%2BfhTXF_vzKLjHofXjg%2BTWrD0NpyefaVKW0Q4q55%3DbPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: syntax error

2018-07-25 Thread akash kandpal
In the she'll try this
python
import django
print (django.VERSION)


On Wed, Jul 25, 2018, 4:54 PM Akhil Reddy  wrote:

> So what is the solution for this pblm..
>
>
> On Wed 25 Jul, 2018 7:38 am deepali pandey, 
> wrote:
>
>> $ python -m django --version showing syntax error? also i am unable to
>> create a file.. i am using python 3.7 and django is already installed in my
>> system, version of django is 2.0.7(which is compatible with python 3.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...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/efd25b07-1df8-49a6-adcf-ff658c480dd7%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> 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 django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMeUrx_Qia08dttTnNd7ZZ9%3DRXegXVyHc9N00O6K8owhf%2BMHfw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPND-h7fpu%3D8c9mW27uiGBqt5yn-uKfj4GgKk0fcSB%3Dsbb2ryA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.