Django Tables

2014-02-10 Thread Onur
Is there any suggestion for open source django tables, I know 
django_tables2 and eztables?

Which one would you like to prefer? or Do you know anyone else?

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7d82d251-c9ff-4d20-9fa0-030cb6cbaa0e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


2 model form with foreign key

2014-06-09 Thread Onur
below is the my 2 models 

Class Profile(models.MODEL):
   
  first_name = models.Charfield()
  last_name = models.Charfield()
  adress = . 

Class Reservation(models.MODEL):
   
   profile = models.ForeignKey(Profile)
   price = models.IntegerField()
   room = models.Charfield()


and I have 2 model form with both models, and my user interface includes 
all of above those fields,

so What kind of structure do I have to use,  multiple inheritence or just 
model form(Reservation),

Thank you :)

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bb02f48f-47ab-4393-bf5c-11be9c1edfad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Need help with models.ManyToManyField() as it always includes all objects when I click "save and continue editing"

2019-05-14 Thread Onur Seker
Hi,
everytime I am selecting only one object from my Product from all my 
Products available in my Cart. 
It saves and includes all Products to the model.ManyToManyField(Product) in 
my Cart model.

I dont know what is wrong with my code here.

Can somebody help me please?

-- 
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/85bc5746-d2c5-4d97-bf99-2baa07e2da2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.