Re: Advice please.

2020-08-03 Thread Hector Berrones
Thacks Chucky, Since I would kike fot the users to personalize their own options I think I would choose the second option, thanks a lot for the advice. On Sun, Aug 2, 2020, 11:59 PM Chucky Mada Madamombe wrote: > Hi, > > You have 2 options: > > 1. You can use choices > 2. You can store data in a

Re: Advice please.

2020-08-02 Thread Chucky Mada Madamombe
Hi, You have 2 options: 1. You can use choices 2. You can store data in a model, and then link with a foreign key. First option is suitable for that data which wont change regularly e.g gender..For data that changes or need to be updated regularly, then use second option. On Mon, 03 Aug 2020,

Re: Advice please.

2020-08-02 Thread Hector Berrones
Thank you Rayan. On Sun, Aug 2, 2020, 8:15 PM 'Ryan Nowakowski' via Django users < django-users@googlegroups.com> wrote: > > > On August 2, 2020 7:21:04 PM CDT, Hector Berrones > wrote: > >I have very little experience using django and I would like to know how > >would be the most conveniente wa

Re: Advice please.

2020-08-02 Thread 'Ryan Nowakowski' via Django users
On August 2, 2020 7:21:04 PM CDT, Hector Berrones wrote: >I have very little experience using django and I would like to know how >would be the most conveniente way to store and manage the common data >in a >django proyect that would have several applications when I say common >data I mean i

Advice please.

2020-08-02 Thread Hector Berrones
Hi Bros, I have very little experience using django and I would like to know how would be the most conveniente way to store and manage the common data in a django proyect that would have several applications when I say common data I mean information about tables cities, Countries, Catalog Secti

Re: model design and derived classes - need advice please?

2010-02-02 Thread Tomasz Zieliński
On 2 Lut, 16:06, Simon Davies wrote: > Hi > > I am writing a web shop.  I have a shopping cart class, which has a > many to many relationship to an item class, the item class has three > derived classes.  The basic schema is shown below: > > class Item(models.Model): >         title = models.CharF

model design and derived classes - need advice please?

2010-02-02 Thread Simon Davies
Hi I am writing a web shop. I have a shopping cart class, which has a many to many relationship to an item class, the item class has three derived classes. The basic schema is shown below: class Item(models.Model): title = models.CharField(max_length=100) description = models.Ch

Re: Flatpages - what am I missing to make these work (advice, please)?

2009-08-19 Thread allenh
Hi, I had the same problem with the SITE_ID mismatched. I also found you can just recognize the SITE_ID from the admin page by editing the site form and checking the URL like (http://localhost:8000/admin/sites/site/ 1/). The last number on URL is exactly the SITE_ID of your site name. Just a tip!

Re: Flatpages - what am I missing to make these work (advice, please)?

2009-08-19 Thread gegard
Thank you! That has resolved my problem. The admin shell does not show the site id number by default, so I supposed that removing the default 'example.com' and adding 'mysite' would enable Django to reuse id 1. I should have assumed otherwise - the new site was id == 2, of course. I should have e

Re: Flatpages - what am I missing to make these work (advice, please)?

2009-08-18 Thread alain31
I just had the same problem, because my site.id was not 1 but 2 as I discovered with the shell... On 18 août, 22:24, gegard wrote: > > I cannot get flatpages to work on my site > > ... which, I should have said, is in Django 1.1. > > Geoff --~--~-~--~~~---~--~~ Yo

Re: Flatpages - what am I missing to make these work (advice, please)?

2009-08-18 Thread gegard
> I cannot get flatpages to work on my site ... which, I should have said, is in Django 1.1. Geoff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Flatpages - what am I missing to make these work (advice, please)?

2009-08-18 Thread gegard
I cannot get flatpages to work on my site, although I have done all that I can see in the documentation, and would like guidance. I give a 6-step short description of what I've done and what happened, in case anyone recognizes a glaring mistake or lack in what I've done. Step 6 is it just 'not wo

Re: Lighttpd advice please

2007-08-29 Thread b3n
I found a guide that said: "RHEL 64 bit v4.0 does not support PHP as FastCGI. Lighttpd is not available from RHN (up2date command). How do I configure and install lighttpd with FastCGI? Ok let me answer these questions and other queries systematically. I have installed Lighttpd under both RHEL 32

Re: Lighttpd advice please

2007-08-28 Thread mamcxyz
The best can be get vmware, download that version of linux and play locally. Trust me, for newbiews this can be very hard... also that version of linux is hard to setup than a debian one. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Lighttpd advice please

2007-08-28 Thread b3n
Thanks Nic, Yeah I've been reading the Django and Lighttpd docs but it's not getting any clearer, just the opposite =/ I'll keep reading... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Lighttpd advice please

2007-08-28 Thread Nic
b3n <[EMAIL PROTECTED]> writes: > I want to also install Lighttpd on this box - to act as a static media > server. Can / should I also use Lighttpd for Django? Or should the > Python/Django-ness be Apache based, leaving Lighttpd to deal with > media files only. You can use lighttpd to server dja

Re: Lighttpd advice please

2007-08-28 Thread b3n
Actually our server OS is: Red Hat Enterprise Linux ES 4 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Lighttpd advice please

2007-08-28 Thread b3n
We have a dedicated server at Rackspace running Apache 2 and Fedora Core 5. I want to start using Django/Python on this server. At the moment we only have about 10 client sites (PHP based) on the server . I want to also install Lighttpd on this box - to act as a static media server. Can / shoul