django request path

2010-07-01 Thread todd
Hello all, I've been working through an issue with my django project. The issue is I've got one project, which will retrieve data for users of different clients. I need to know 'from where' a viewer is coming from (request.path [my original solution]). I've been looking at a number of different op

Re: django request path

2010-07-01 Thread Venkatraman S
On Thu, Jul 1, 2010 at 1:36 PM, todd wrote: > > I've been working through an issue with my django project. The issue > is I've got one project, which will retrieve data for users of > different clients. I need to know 'from where' a viewer is coming from > (request.path [my original solution]). I

best translation solution for my project

2010-07-01 Thread grimmus
Hi, Sorry if this has been asked before, but i only seem to be finding bit's and pieces for what i am after. I have a simple website that needs to be available in English and French. I am using locale-url so all pages can have an independent url ( e.g. en/page and fr/page) There is a locale fol

Managing the balance between SSL and impact on the server

2010-07-01 Thread ALJ
I have an extranet for staff and known partners. It has absolutely no public content. I've installed SSL so it should be secure, but I also heard that SSL can have a big impact on the server. While login and password changes need to be secure, the content itself is not particularly sensitive. But

Re: Newby Question: template system doesn't render form html

2010-07-01 Thread grimmus
You dont seem to be closing your input tags, add > to the end of them On Jul 1, 4:47 am, Gene wrote: > When I put a form into my template it comes back blank. Does anyone > know why? > > what is in my template > > > >     >     > > > > what I get in my browser > > -- You received this mes

Re: does QuerySet delete delete the objects by their primary key?

2010-07-01 Thread Tom Evans
On Wed, Jun 30, 2010 at 9:01 PM, thusjanthan wrote: > Hi, > > I did a query on an object using their "non" primary keys such that: > > a = Topic.objects.filter(topic='Politics') > topic is not a primary key. suppose topicID is primary key. > > When I run: > > a.delete() > > the SQL that is execute

Error importing database router: "cannot import name connection"

2010-07-01 Thread dzonny
Hi! I'm trying to create app router but when I put this row to my settings.py, I'll get this error traceback: Traceback (most recent call last): File "/home/django/pythonenv/django/bin/django-admin.py", line 5, in management.execute_from_command_line() File "/home/django/pythonenv/django

Re: Managing the balance between SSL and impact on the server

2010-07-01 Thread Erik Cederstrand
Den 01/07/2010 kl. 11.02 skrev ALJ: > I have an extranet for staff and known partners. It has absolutely no > public content. I've installed SSL so it should be secure, but I also > heard that SSL can have a big impact on the server. Just measure it instead of guessing. Enable system monitoring o

Re: Error importing database router: "cannot import name connection"

2010-07-01 Thread Daniel Roseman
On Jul 1, 10:51 am, dzonny wrote: > Hi! > > I'm trying to create app router but when I put this row to my > settings.py, I'll get this error traceback: > > > django.core.exceptions.ImproperlyConfigured: Error importing database > router MyRouter: "cannot import name connection" > > Is there anybo

Re: Managing the balance between SSL and impact on the server

2010-07-01 Thread ALJ
Hi Erik, Thanks for the advice. I'll certainly have a look at the servers. I just wanted to know really whether it was an "all or none" situation with SSL. If it was possible blend secure and non secure connections. ALJ On Jul 1, 11:13 am, Erik Cederstrand wrote: > Den 01/07/2010 kl. 11.02 skr

Re: Managing the balance between SSL and impact on the server

2010-07-01 Thread euan.godd...@googlemail.com
We have a Django solution that blends both SSL and none SSL. We did it by creating a decorator for views that adds an attribute to the view function and then some middleware that ensures these views are always server over SSL (with a permanent redirect to the SSL equivalent if necessary). We also r

Re: Managing the balance between SSL and impact on the server

2010-07-01 Thread steven314
It's a very common pattern to use SSL for login and private profile details and then have the cookie passed over an unencrypted channel for the rest of the site. I have implemented an approach where nginx handles all the SSL and proxies requests to apache (which directly serves non-SSL requests).

Re: best translation solution for my project

2010-07-01 Thread bruno desthuilliers
On 1 juil, 10:18, grimmus wrote: > Hi, > > Sorry if this has been asked before, but i only seem to be finding > bit's and pieces for what i am after. > > I have a simple website that needs to be available in English and > French. > > I am using locale-url so all pages can have an independent url

Valid objects are returning an http 404 response

2010-07-01 Thread vjimw
We are having an issue where valid model objects are returning an apache 404 error. Often times, if you hit refresh in the browser a few times, the object is returned with the same URL. We are using Django 1.2.1 -- You received this message because you are subscribed to the Google Groups "Djang

Re: Django on multiple servers? (Deployment Problem)

2010-07-01 Thread bruno desthuilliers
On 1 juil, 02:40, nano wrote: > Ok, so i've written my Django app on computer A with the dev server, > and have pushed it to server B, running apache (implemented with > mod_wsgi). The server also has Django installed, but cannot find the > settings for some reason. It's probably either a pythonp

Re: how to develop cms on django

2010-07-01 Thread bruno desthuilliers
On 30 juin, 12:16, Kenneth Gonsalves wrote: > On Wednesday 30 June 2010 15:40:20 samie wrote: > > > > Everything or almost. > > > i dont have time i need to start development within  a month.. > > > plz tell me all those crucial topics that i should learn > > 1. python > 2. css > 3. html > 4. ja

Re: Valid objects are returning an http 404 response

2010-07-01 Thread euan.godd...@googlemail.com
When you say "an apache 404 error" do you mean a non-Django styled one? If so, I think there's something wrong with your apache configuration and not your Django app. What mechanism are you using to serve the application? I have seen issues like with this mod_wsgi when the reload mechanism isn't tr

Re: how to develop cms on django

2010-07-01 Thread bruno desthuilliers
On 30 juin, 12:10, samie wrote: > On Jun 30, 1:58 pm, bruno desthuilliers > > wrote: > > On 29 juin, 12:41, samie wrote: > > > > 1 more query.. > > > > what are important that i shld. learn in python and in django to > > > develop my cms.. > > > Everything or almost. > > i dont have time i need

Re: Valid objects are returning an http 404 response

2010-07-01 Thread vjimw
Actually, we are getting our Django 404 page. Sorry to be unclear on that. The URLs appears as 404 in the access logs. We are actually using fast_cgi per our system administrator and wondered if switching to mod_wsgi might help solve the problem, but it looks like you had the issue with mod_wsgi!

Re: best translation solution for my project

2010-07-01 Thread grimmus
Thanks for the reply. I settled on django-modeltranslation, it's easy to install, well documented and fits into the admin area. Thanks again. On Jul 1, 3:46 pm, bruno desthuilliers wrote: > On 1 juil, 10:18, grimmus wrote: > > > > > Hi, > > > Sorry if this has been asked before, but i only see

Re: using django for google appengine, noob to both.

2010-07-01 Thread Sector7B
Felippe, Thank you for our feedback, I've posted this question over to the group you mentioned a couple replies ago, still waiting approval from the moderators but if you feel like continuing this I'd appreciate it. It might be helpful to others in the future. Malcom, I briefly looked over the si

Admin datetime js widget and urls

2010-07-01 Thread cfraschetti
Hello all, I am trying to leverage the Admin site by adding some urls in the admin class. Eg. class Orders(admin.ModelAdmin): def changelist_view(self,request,customer_id=None): pass #set up view for order list based on customer_id by adding filter to queryset def get_urls

Looking for Django Developer(s) in Long Island for part time and full time

2010-07-01 Thread normlevy
Hello Django User group... I am looking on the site for how to post a job opening to your community...and I apologize in advance if I am not doing the right. We are looking for 1 or 2 local (NY Metro area - preferably Long Island) Django developers to work with me on a new audible Tweet platform

Translation problem

2010-07-01 Thread Daniel Baron
Hi all, I have a problem getting the correct translation using gettext in the following situation: I have a view which calls a custom function to send an email. This functions takes three arguments - subject of the email (string) - the language of the email - the template to render the conte

Re: Valid objects are returning an http 404 response

2010-07-01 Thread Bill Freeman
Does it happen when running the development server? If so, you get a lot more debugging info right up front (access to variables in each stack from, for instance). If it's still not clear you can use the trace as a guide as to where to put a pdb.set_trace() (possibly in an if that makes it only t

Re: Translation problem

2010-07-01 Thread Tom Evans
On Thu, Jul 1, 2010 at 2:33 PM, Daniel Baron wrote: > Hi all, > > I have a problem getting the correct translation using gettext in the > following situation: > > I have a view which calls a custom function to send an email. This functions > takes three arguments > - subject of the email (string)

Arbitrary Properties from code

2010-07-01 Thread Doug Warren
Let's say I have some models that look like: class Emotion(models.Model): mood = CharField(unique=True) class Person(models.Model): emotions = ManyToManyField(Emotion) name = CharField() angry = Emotion(mood='angry') angry.save() sad = Emotion(mood='sad') sad.save() bob = Person(nam

recommended app for editable settings in the admin?

2010-07-01 Thread pablo platt
Hi I need to let the admin change settings in the admin interface. Settings could be tax_rate, admin email, site description... The straight forward approach is to have a model of key/value pairs in the db. The key/value pairs could be cached in request.settings on the first access like request.us

Re: Valid objects are returning an http 404 response

2010-07-01 Thread vjimw
It only happens in our production environment. We have a stage environment, which is a mirror of production, that does not have this behavior and it does not happen on our development or local environments. The trace is a good idea to try to see more information. On Jul 1, 9:28 am, Bill Freeman

Re: Valid objects are returning an http 404 response

2010-07-01 Thread Tom Evans
On Thu, Jul 1, 2010 at 3:41 PM, vjimw wrote: > It only happens in our production environment. We have a stage > environment, which is a mirror of production, that does not have this > behavior and it does not happen on our development or local > environments.  The trace is a good idea to try to se

UnicodeDecodeError: 'utf8' codec can't decode

2010-07-01 Thread Yateen
Hi, I am using a postgres database and DJango. I have a http url in my database which contains some special characters, but a table query returns the result successfully. select http_url from mytable limit 1; http_url http://östrogenfrei.d

Re: Valid objects are returning an http 404 response

2010-07-01 Thread vjimw
No, the database is pretty standard (mysql 5.1.37-community). This is an 'in-house' tool and we have about 15 consistent users. They hit is pretty heavily and notice this issue during that time, but it also pops up throughout the day. It does seem to be "fixed," albeit temporarily, after we restart

After sync signal?

2010-07-01 Thread Jari Pennanen
Hi! I'm trying to add rows to database after sync, but I need to do it after *all* of the apps has been synced. Since my after sync function traverses all these apps and builds interesting information to the database. While post_syncdb http://docs.djangoproject.com/en/dev/ref/signals/#post-syncdb

Re: recommended app for editable settings in the admin?

2010-07-01 Thread Daniel Roseman
On Jul 1, 3:37 pm, pablo platt wrote: > Hi > > I need to let the admin change settings in the admin interface. > Settings could be tax_rate, admin email, site description... > The straight forward approach is to have a model of key/value pairs in the > db. > The key/value pairs could be cached in

Re: how to develop cms on django

2010-07-01 Thread Julio Cesar Rodriguez Cruz
If you want rapid, cross-browser facilities, nice and friendly interfaces and pain-less javascript develop, you must consider learn and use a js library like jQuery Instead to develop your cms from scratch consider to use or reuse http://www.django-cms.org/ Hope this help you regards julio cesar

Re: Admin Search Engline

2010-07-01 Thread Dennis Kaarsemaker
ChangeList.get_query_set in django/contrib/admin/views/main.py On ma, 2010-06-28 at 11:41 +0200, Massimiliano della Rovere wrote: > Yes that's my idea. > Can you tell me which class/method in the admin files is responsible > for the search engine so that I can extend it? > > On Mon, Jun 28, 2010

www.djangoproject.com

2010-07-01 Thread FC
I can't access www.djangoproject.com from Buenos Aires, Argentina. Firefox says: "The connection has timed out" Is anyone else having problems? -- 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...@go

Re: www.djangoproject.com

2010-07-01 Thread Rob Broadhead
Works fine for me. On Jul 1, 2010, at 12:40 PM, FC wrote: I can't access www.djangoproject.com from Buenos Aires, Argentina. Firefox says: "The connection has timed out" Is anyone else having problems? -- You received this message because you are subscribed to the Google Groups "Django us

Re: Django on multiple servers? (Deployment Problem)

2010-07-01 Thread nano
Ok, thanks. sorry for my rather dumbed down language- by saying that django 'knew' about the project i was implying that perhaps some change was made in some configuration file in the django library, but as thats not the case, moot point. but again, thanks, ive been able to get it working. On Jul

Re: www.djangoproject.com

2010-07-01 Thread Daniel Roseman
On Jul 1, 6:40 pm, FC wrote: > I can't accesswww.djangoproject.comfrom Buenos Aires, Argentina. > Firefox says: "The connection has timed out" > > Is anyone else having problems? http://downforeveryoneorjustme.com/www.djangoproject.com -- DR. -- You received this message because you are subscr

Re: www.djangoproject.com

2010-07-01 Thread Felippe Bueno
Sao Paulo, Brazil ok. On Thu, Jul 1, 2010 at 2:42 PM, Rob Broadhead wrote: > Works fine for me. > > On Jul 1, 2010, at 12:40 PM, FC wrote: > > I can't access www.djangoproject.com from Buenos Aires, Argentina. > Firefox says: "The connection has timed out" > > Is anyone else having problems? > >

Re: Arbitrary Properties from code

2010-07-01 Thread Daniel Roseman
On Jul 1, 3:31 pm, Doug Warren wrote: > Let's say I have some models that look like: > > class Emotion(models.Model): >     mood = CharField(unique=True) > > class Person(models.Model): >     emotions = ManyToManyField(Emotion) >     name = CharField() > > angry = Emotion(mood='angry') > angry.sav

Re: www.djangoproject.com

2010-07-01 Thread Iván Raskovsky
Buenos Aires, Arnet and Fibertel (ISPs) OK. Iván On Thu, Jul 1, 2010 at 3:09 PM, Felippe Bueno wrote: > Sao Paulo, Brazil ok. > > > On Thu, Jul 1, 2010 at 2:42 PM, Rob Broadhead > wrote: > >> Works fine for me. >> >> On Jul 1, 2010, at 12:40 PM, FC wrote: >> >> I can't access www.djangoproje

Re: www.djangoproject.com

2010-07-01 Thread Carsten Fuchs
Hi all, Am 01.07.2010 19:40, schrieb FC: I can't access www.djangoproject.com from Buenos Aires, Argentina. Firefox says: "The connection has timed out" Is anyone else having problems? I experience the same when I use Firefox under Ubuntu 10.04 (Lucid Lynx). Using Firefox under Windows or Epi

Re: UnicodeDecodeError: 'utf8' codec can't decode

2010-07-01 Thread Bill Freeman
What's in the database probably isn't legal UTF-8. It is easily possible to have a sequence of characters in some other encoding which only results in the wrong characters if treated as UTF-8, but it is also possible to violate the UTF-8 structure with such a sequence. PostgreSQL, if set for UTF-

Re: cleaning html with bleach

2010-07-01 Thread Tor Nordam
Thank you both for your replies. I think I'll go for using bleach to clean on input, and mark as safe on output. I must say, however, that I'm surprised at how hard it is to find information about this topic. I would have thought that allowing some, but not all, html was a relatively common task,

Re: www.djangoproject.com

2010-07-01 Thread FC
On Jul 1, 3:41 pm, Carsten Fuchs wrote: > Hi all, > > Am 01.07.2010 19:40, schrieb FC: > > > I can't accesswww.djangoproject.comfrom Buenos Aires, Argentina. > > Firefox says: "The connection has timed out" > > > Is anyone else having problems? > > I experience the same when I use Firefox under Ub

Re: Valid objects are returning an http 404 response

2010-07-01 Thread Bill Freeman
I may be just living under a rock, but I don't know how to use pdb.set_trace() when not using the development server. If you do this successfully, please let me know. What I have done is append "print"ings to a file, or configure extra logger outputs. Under mod_wsgi I get some logging output in

Re: Arbitrary Properties from code

2010-07-01 Thread Bill Freeman
mood = Emotion.objects.get(mood='thoughtful') The above raises DoesNotExist if the emotion hasn't been defined. If you want to raise a different one, then catch this one and raise your own. Then use mood in your query on the person's emotions. On Thu, Jul 1, 2010 at 10:31 AM, Doug Warren wrote

Re: www.djangoproject.com

2010-07-01 Thread Bill Freeman
You might have a poisoned DNS cache. Since this is Windows, you could try rebooting, but there could be other DNS caches between you and a good name server. On Thu, Jul 1, 2010 at 3:37 PM, FC wrote: > On Jul 1, 3:41 pm, Carsten Fuchs wrote: >> Hi all, >> >> Am 01.07.2010 19:40, schrieb FC: >> >

django simple captcha issue

2010-07-01 Thread weiwei
Hi all, I am using django-simple-captcha, it works fine on my dev environment (windows). But after i deployed to linux server, all other views/pages are working fine. But when i request /captcha/image/{{imagekey}}/ i got server internal error 500. Something I missed to configure? Thanks a lot

Re: www.djangoproject.com

2010-07-01 Thread FC
$ ping www.djangoproject.com PING www.djangoproject.com (64.207.133.18) 56(84) bytes of data. Can you confirm this is ok? I get no response but at least it resolves to something. On Jul 1, 4:50 pm, Bill Freeman wrote: > You might have a poisoned DNS cache.  Since this is Windows, you could > tr

Re: www.djangoproject.com

2010-07-01 Thread Tim Chase
On 07/01/2010 02:37 PM, FC wrote: I already used Wireshark to see what's going on with the unique combination "Firefox under Lucid Lynx accessing djangoproject.com": the djangoproject.com host simply doesn't respond to the initial HTTP GET request (or the reply never gets through). Not sure what

Re: Managing the balance between SSL and impact on the server

2010-07-01 Thread ALJ
Thanks for that Euan. Steven, you say you have login on SSL and then have the cookie passed over unencrypted channel for the rest of the site. Is there any risk with this or mitigating steps that should be taken? (Sorry ... don't have my head around it) ALJ On 1 July, 15:20, steven314 wrote: >

django.test.TestCase in external tests files (KeyError: 'SUPPORTS_TRANSACTIONS'")

2010-07-01 Thread Jari Pennanen
Hi, I'm trying to use django.test.TestCase class in my project's directory "tests", e.g. myapp/models.py myapp/... tests/sometest.py If I use django TestCase inside sometest.py I get: Traceback (most recent call last): File "\django\django\test\testcases.py", line 256, in __call__ self._p

Re: www.djangoproject.com

2010-07-01 Thread Felippe Bueno
www.djangoproject.com has address 64.207.133.18 On Thu, Jul 1, 2010 at 5:07 PM, FC wrote: > $ ping www.djangoproject.com > PING www.djangoproject.com (64.207.133.18) 56(84) bytes of data. > > > Can you confirm this is ok? > I get no response but at least it resolves to something. > > On Jul 1,

Newbie Q: Is there a way to prevent Django from creating fields w. 'Not Null' by default?

2010-07-01 Thread Barto
I've been following 'Writing Your First Django App. Pt. 1' substituting my own object names in experiment. Noticed that when I told Django to create my tables, it did so giving all (psycopg2/postgres) fields the 'not null' setting. Easy to change this via PgAdmin, but I'm wondering if it is possib

Re: Newbie Q: Is there a way to prevent Django from creating fields w. 'Not Null' by default?

2010-07-01 Thread Michael
On Thu, Jul 1, 2010 at 4:16 PM, Barto wrote: > I've been following 'Writing Your First Django App. Pt. 1' > substituting my own object names in experiment. > > Noticed that when I told Django to create my tables, it did so giving > all (psycopg2/postgres) fields the 'not null' setting. Easy to ch

Re: Translation problem

2010-07-01 Thread Daniel
Of course my_mail() is more complicated than my example. But I am not touching "subject" elsewhere as in the posted lines (I am only passing it to EmailMessage). Thus, I did not consider the rest of my_mail() to be important. Is there a way to check at a certain point if the the proxy object has a

Re: Django on multiple servers? (Deployment Problem)

2010-07-01 Thread bruno desthuilliers
On 1 juil, 19:56, nano wrote: > Ok, thanks. sorry for my rather dumbed down language- by saying that > django 'knew' about the project i was implying that perhaps some > change was made in some configuration file in the django library, That's what I understood, but I fail to see what made you thi

Re: www.djangoproject.com

2010-07-01 Thread George Sakkis
On Jul 1, 8:41 pm, Carsten Fuchs wrote: > Hi all, > > Am 01.07.2010 19:40, schrieb FC: > > > I can't accesswww.djangoproject.comfrom Buenos Aires, Argentina. > > Firefox says: "The connection has timed out" > > > Is anyone else having problems? > > I experience the same when I use Firefox under Ub

Re: Django on multiple servers? (Deployment Problem)

2010-07-01 Thread nano
On Jul 1, 5:52 pm, bruno desthuilliers wrote: > That's what I understood, but I fail to see what made you think it > would be the case. It was what i implied when the app ran well on the machine that I had run the 'startproject' command on and didn't run at all on the one that i hadn't. I though

Newbie Question - django-jython - how to "run" the app?

2010-07-01 Thread Victor Hooi
heya, I've trying to get my Django app to run on a Tomcat 5.x server, using django-jython. I'm a bit of a newbie in the Java/Tomcat world though. Firstly, I'm currently using PostgreSQL. However, to make things easier on the target server, I was just going to use SQLite3 - the app will only be us

Problem with jdbc postgresql driver

2010-07-01 Thread Hugo
Hi everyone, I am experiencing a funny issue with the jdbc driver when trying to run syncdb. I've installed jython2.5.1, Django-1.2.1 and django-jython-1.1.1 1. I create a project 'mysite'... 2. change settings.py: DATABASE_ENGINE = 'doj.backends.zxjdbc.postgresql' DATABASE_NAME = 'mysite'

Personalization and preferences?

2010-07-01 Thread zweb
On my web pages I have labels for text fields. I want user to be able to personalize the labels. Example : default label: Employee, alternative is that user can choose - Associate or Staff Member. Depending on which label an user chooses, all screens should show that label for that user. Other us

Nginx-fcgi setup guidance needed to render certain views with HTTPS.

2010-07-01 Thread Sam Walters
Hi Django Users I have been looking to make some of my views secured by SSL, i have made a certificate for testing. For the views which require https i rewrite the url and redirect using a decorator. In theory this should redirect and nginx will server the views through https. Instead what i fin

Re: django simple captcha issue

2010-07-01 Thread Venkatraman S
On Fri, Jul 2, 2010 at 1:22 AM, weiwei wrote: > > I am using django-simple-captcha, it works fine on my dev environment > (windows). But after i deployed to linux server, all other views/pages > are working fine. But when i request /captcha/image/{{imagekey}}/ i > got server internal error 500.

Re: django.test.TestCase in external tests files (KeyError: 'SUPPORTS_TRANSACTIONS'")

2010-07-01 Thread Karen Tracey
On Thu, Jul 1, 2010 at 4:41 PM, Jari Pennanen wrote: > Hi, > > I'm trying to use django.test.TestCase class in my project's directory > "tests", e.g. > > myapp/models.py > myapp/... > tests/sometest.py > > If I use django TestCase inside sometest.py I get: > > Traceback (most recent call last): >

Newbie: Google App Engine and Facebook

2010-07-01 Thread Binh
Hi, Has anyone here built a facebook canvas application using Django 1.* and got it working on Google App Engine? If so, can you give pointers on how I can learn this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: deployment problem

2010-07-01 Thread kakarukeys
On Jun 30, 9:38 pm, kakarukeys wrote: > I tried to deploy a simple web app I wrote in Django and ran into > problem with user authentication. > > On production server, the following steps didn't work like expected > (on development server). > > "log in using a test user account, > access a restric

If you need a code review

2010-07-01 Thread Lee Hinde
I'm new to Django. I've done one modest, search only, public site prior to my current project. I'm also new to python. While I'm new to all this, I've been doing web dev. for 14 years. The site I'm working on now is a low-user intranet for a local restaurant chain. I was able to conceptualize the

Any implement of event bus in django

2010-07-01 Thread cat in a tub
Hi I am wondering whether there is any implement of event bus (a centralized control of sub/dist event via ajax sync). Google use this design pattern in its ad-words by java. Does django have similar solutions ? Cheers Homer -- You received this message because you are subscribed to the Google

Re: How can I access attributes in intermediate class

2010-07-01 Thread cat in a tub
I found model inheritance may be a better solution: combine may model into one (Similar to views combining tables in database) Quote: Model inheritance in Django works almost identically to the way normal class inheritance works in Python. The only decision you have to make is whether you want t