windows localhost send email

2009-10-16 Thread grimmus
Hi, I am setting up the password reset function in my app. When i click 'Reset my password' i get the error (10061, 'No connection could be made because the target machine actively refused it') I am guessing it's because there is trouble sending the email. How can i setup my machine to be able

Archiving Model Instances?

2009-10-16 Thread Léon Dignòn
Hello, I am programming an application where a model instance could be archived if necessary. For example: in gmail I can archive e-mails and they move in the archived folder. The question is: is it only a boolean class-attribute called archived? Or is there more technical know how behind it? I

Re: windows localhost send email

2009-10-16 Thread Angel Cruz
In your settings.py, make sure you set EMAIL_HOST correctly. 1. test if you are able to email with a simple python program: If you have comcast cable in your home, this should work: --- import smtplib from email.mime.multipart import MIMEMultipart from email.mime.

Re: windows localhost send email

2009-10-16 Thread Servais Nabil
On linux you can use command : sudo python -m smtpd -n -c DebuggingServer localhost:25 I suppose you can adapt it on windows (by changing port number for exemple) On Fri, Oct 16, 2009 at 9:28 AM, grimmus wrote: > > Hi, > > I am setting up the password reset function in my app. > > When i click

Re: windows localhost send email

2009-10-16 Thread Léon Dignòn
Download and run "Free SMTP Server": http://www.softstack.com/freesmtp.html No need to configure anything. Your sent e-mails will probably moved in your spam folder. -ld On 16 Okt., 09:47, Angel Cruz wrote: > In your settings.py, make sure you set EMAIL_HOST correctly. > > 1. test if you are a

Re: app model

2009-10-16 Thread Léon Dignòn
User signals: models.py -- def do_something(sender, instance=None, **kwargs): """Does something instance is the user instance. """ if instance is not None: # Do Something post_save.connect(do_something, sender=User) # User is the user model. On 14 Okt.

Re: djangocon videos

2009-10-16 Thread bittin
nice :) On Thu, Oct 15, 2009 at 12:39 AM, Nick Lo wrote: > > > anybody knows when djangocon september/portland videos will be > > available? > > I expect you'll hear about their availability here first: > > http://twitter.com/djangocon > > > > > --~--~-~--~~~---~--~--

Re: windows localhost send email

2009-10-16 Thread grimmus
Thanks for the replies, i did the command line option and it's working great On Oct 16, 9:47 am, Servais Nabil wrote: > On linux you can use command : > > sudo python -m smtpd -n -c DebuggingServer localhost:25 > > I suppose you can adapt it on windows (by changing port number for exemple) > > O

Flatpage on first page of a website

2009-10-16 Thread Alessandro Ronchi
I need to put a flatpage on / and make www.example.com return the flatpage. Is it possible? What url must I put in flatpage admin? -- Alessandro Ronchi SOASI Sviluppo Software e Sistemi Open Source http://www.soasi.com --~--~-~--~~~---~--~~ You received this me

erronr during rendering

2009-10-16 Thread luca72
hello can you explain how to solve this error: Exception Type: TemplateSyntaxError at /vis_scar/ Exception Value: Caught an exception while rendering: Incorrect datetime value: '%2009-10-15 15:45:59%' for column 'dataora' at row 1 He stop at line 17 8 9 10 11 Nome File

Re: Archiving Model Instances?

2009-10-16 Thread Thomas Guettler
Hi, If you use indices to access the models, you will see no noticable difference in speed between 1,000 and 100,000 rows. This may be different if use no indices (e.g. SQL LIKE "%...%"). But if the boolean column "archived" has an index, the sequential scan will be fast. I would *not* create a

Re: Can't get css working

2009-10-16 Thread David
> The "interesting discussion" was actually a practical example of a > setup that is known to work and really helps avoiding typos. Of course I included your suggestion before I was replying. The only thing i did not get was the part with TEMPLATE_CONTEXT_PROCESSORS, so I hardcoded the URL in the

Re: Flatpage on first page of a website

2009-10-16 Thread Lars Stavholm
Alessandro Ronchi wrote: > I need to put a flatpage on / > and make www.example.com > return the flatpage. > > Is it possible? What url must I put in flatpage admin? No flatpages in admin as far as I know. At the frontend (your web site www.example.com) however: 1. Create a flatpage for with U

Re: Admin why deleting related(null=True) objects?

2009-10-16 Thread x_O
I've created a Ticket for that issue http://code.djangoproject.com/ticket/12003#preview but for now no response ... On 8 Paź, 19:05, Alex Robbins wrote: > This sounds related to this tickethttp://code.djangoproject.com/ticket/9308, > which supposedly fixed this issue 5 months ago. You should p

Re: Archiving Model Instances?

2009-10-16 Thread davor
On Oct 16, 11:02 am, Thomas Guettler wrote: > Hi, > > If you use indices to access the models, you will see no noticable difference > in speed between 1,000 and 100,000 rows. This may be different if use no > indices (e.g. SQL LIKE "%...%"). But if the boolean column "archived" has > an index,

Django default date formatting changes

2009-10-16 Thread vishak
Hi Django users, I have one question in django for which details are given below 1] The default date format in django is '`2009-10-10' when entered through frontend (i.e by using models.DateField()). I manipulated this behavior to '10-OCT-09'. 2] Everything is fine upto now, but when i save

Re: erronr during rendering

2009-10-16 Thread nausikaa
Ciao Luca I think the problem are the '%' in the datetime string. Have a look here: http://docs.djangoproject.com/en/dev/ref/templates/builtins/ and try this: {{ value|date }} i.e. ... 20 {{ m.dataora|date }} ... respectively. Does it cure the problem? nausikaa On Oct 16, 10:53 am,

Re: Django default date formatting changes

2009-10-16 Thread Михаил Лукин
Try this http://docs.djangoproject.com/en/dev/ref/settings/#date-format On Fri, Oct 16, 2009 at 2:21 PM, vishak wrote: > > Hi Django users, > > I have one question in django for which details are given below > > 1] The default date format in django is '`2009-10-10' when entered > through front

Re: Django default date formatting changes

2009-10-16 Thread vishak
what you have told is OK but when you enter in datefield 10-OCT-09 instead of 2009-10-10 it gives error. On Oct 16, 4:41 pm, Михаил Лукин wrote: > Try thishttp://docs.djangoproject.com/en/dev/ref/settings/#date-format > > > > On Fri, Oct 16, 2009 at 2:21 PM, vishak wrote: > > > Hi Django users,

SVG and Django

2009-10-16 Thread claytonbonelli
I have a HMLT file with a SVG embed tag, like this: http://www.adobe.com/svg/viewer/install/"; /> This file works fine when I opened it with firefox, but dont work if the file is served by django server. The SVG image (radial2.svg) is not displayed

Re: Django default date formatting changes

2009-10-16 Thread Bayuadji
Hi, perhaps you could create clean_*date in your form, and change the datefield 10-OCT-09 to 10-10-2009 -djibon- On 10/16/09, vishak wrote: > > what you have told is OK but when you enter in datefield 10-OCT-09 > instead of 2009-10-10 it gives error. > > On Oct 16, 4:41 pm, Михаил Лукин wrot

edit basic user data not validating on website front end

2009-10-16 Thread grimmus
Hi, On my website i have a edit profile page, this enables users to edit 4 fields : username, first name, last name and email address. For some reason the form never validates, is it not enough just to pass the 4 fields i want to edit and leave the others as they are ? My view looks like def pr

Re: SVG and Django

2009-10-16 Thread wancharle sebastiao quirino
try accessing the url http://127.0.0.1:8000/radial2.svg in firefox and see what happens. Probably you have not set the right url for static files. 2009/10/16 claytonbonelli > > I have a HMLT file with a SVG embed tag, like this: > > > > > > type="image/svg

Re: SVG and Django

2009-10-16 Thread Tim Chase
> > > > >type="image/svg+xml" > pluginspage="http://www.adobe.com/svg/viewer/install/"; > /> > > > > > This file works fine when I opened it with firefox, but dont work if > the file is served by django server. The SVG imag

Re: UML and OCL

2009-10-16 Thread Goffer Looney
Hi, You might be interested in this tool called UML to Django: http://code.google.com/p/uml-to-django/ It is a python script which automatically converts a UML class diagram into Django models (and admins). It currently works with Argo UML diagrams but could, in theory, be easily extended to su

Re: Django default date formatting changes

2009-10-16 Thread David De La Harpe Golden
vishak wrote: > what you have told is OK but when you enter in datefield 10-OCT-09 > instead of 2009-10-10 it gives error. > If you don't tell a forms.DateField to expect 10-OCT-09, it won't. Django's DateField default input format list doesn't include that particular '%d-%b-%y' format by defaul

validation error depending on widget

2009-10-16 Thread wmstudio
Hi, I have a model containing: class Book(models.Model): title = models.CharField(max_length=128) price = models.DecimalField(max_digits=8, decimal_places=2, help_text='Please enter the price in $') summary = models.TextField(blank=True) and I adjust the textarea size using admin.py

Re: Archiving Model Instances?

2009-10-16 Thread Thomas Guettler
I forgot to mention, that you can write a custom manager. This way FooModel.objects.all() only returns not archived instances. Thomas Guettler wrote: > Hi, > > If you use indices to access the models, you will see no noticable difference > in speed between 1,000 and 100,000 rows. This may be di

Re: validation error depending on widget

2009-10-16 Thread Daniel Roseman
On Oct 16, 2:18 pm, wmstudio wrote: > Hi, > > I have a model containing: > > class Book(models.Model): >     title = models.CharField(max_length=128) >     price = models.DecimalField(max_digits=8, decimal_places=2, > help_text='Please enter the price in $') >     summary = models.TextField(blank

Re: validation error depending on widget

2009-10-16 Thread wmstudio
thanks a lot On Oct 16, 3:21 pm, Daniel Roseman wrote: > On Oct 16, 2:18 pm, wmstudio wrote: > > > > > > > Hi, > > > I have a model containing: > > > class Book(models.Model): > >     title = models.CharField(max_length=128) > >     price = models.DecimalField(max_digits=8, decimal_places=2

Building a form to write one of two models

2009-10-16 Thread Luke Sneeringer
Good morning, I have two models that have mostly-similar fields (they both inherit from a single, abstract model in Django) and one different field. I'd really like it to be two separate tables in the database for normalization (each has a separate, one-to-many relationship with another table and

Complex annotated/aggregated QuerySet ?

2009-10-16 Thread Thierry
Hi, Considering the following models (simplified time-tracking app): - class Objective(models.Model): pass class Task(models.Model): status = models.IntegerField() objective = models.ForeignKey(Objective, related_name='tasks') ---

Good News !! A mate found for your dog ...

2009-10-16 Thread turk970
You love your dog and your dog love’s you! Give your dog the opportunity to find a soul mate, enjoy life to the full and who knows maybe end up with little puppies. HavlaTavla.Com is the new dog mating portal that can help you live your dogs dreams. Havlatavla lists all types of dogs, breeds and

Template code runs in both branches of an if statement

2009-10-16 Thread pjrhar...@gmail.com
I have some template code which looks something like this: {% if condition %} {% get_latest parameter1 %} - foo {% else %} {% get_latest parameter2 %} - bar {% endif %} get_latest is a custom template tag, and I noticed that in my debugging output it is being run both times - ie with parameter1 a

Re: unable to see SQL even after DEBUG=True in settings

2009-10-16 Thread Javier Guerra
On Fri, Oct 16, 2009 at 1:55 AM, Jani Tiainen wrote: >> I have run the app such that it has executed number of db queries and I >> know for sure there must be some sql.  But still I don't see any in >> connection.queries.  what am I doing wrong? > > Are you sure that querysets are evaluated? Mean

Re: Complex annotated/aggregated QuerySet ?

2009-10-16 Thread Javier Guerra
On Fri, Oct 16, 2009 at 9:09 AM, Thierry wrote: > What I would like to do, however, is the following: > Retrieving Objective objects, each with a count of completed tasks and > remaining tasks (i.e grouping by their status). > > Can this be done 'natively' using Django querysets? > Thanks for any

Re: When would you use Context instead of RequestContext?

2009-10-16 Thread wiswaud
On Oct 15, 9:17 am, Russell Keith-Magee wrote: > On Thu, Oct 15, 2009 at 9:01 PM, wiswaud wrote: > It's strange you should raise that issue, because as of about 24 hours > ago, it isn't the case any more. Luke Plant checked in some changes to > trunk that make the retrieval of messages by Reque

Re: Building a form to write one of two models

2009-10-16 Thread Antoni Aloy
2009/10/16 Luke Sneeringer : > > Good morning, > I have two models that have mostly-similar fields (they both inherit > from a single, abstract model in Django) and one different field. I'd > really like it to be two separate tables in the database for > normalization (each has a separate, one-to-

Design decision

2009-10-16 Thread Léon Dignòn
I have a project. Within that project I have the app callerlist. Callerlist is a list of either inbound or outbound phone calls. To each phone call the following information should be written down: own name, name of the caller, subject, message and time. This app has to be coherent. Now, for exam

Re: Template code runs in both branches of an if statement

2009-10-16 Thread dononyx
try firstof?? {% firstof var1 var2 var3 %} This is equivalent to: {% if var1 %} {{ var1 }} {% else %}{% if var2 %} {{ var2 }} {% else %}{% if var3 %} {{ var3 }} {% endif %}{% endif %}{% endif %} On Oct 16, 9:49 am, "pjrhar...@gmail.com" wrote: > I have some template code which looks

Re: Problems with filter_horizontal

2009-10-16 Thread gumbah
I seem to have the same problem... Anyone know if this is a bug? On Sep 1, 2:59 pm, Sandra Django wrote: > Hi friends, I'm using Django 1.1, and I want to change the widget by default > on ManyToManyField for it looks as user permissions field in Django. > For that, in my admin.py I wrote: > >

Re: Template code runs in both branches of an if statement

2009-10-16 Thread pjrhar...@gmail.com
I dont think that helps, but I have just realised when fiddling around that if both template tags really were being called it would have raised an error as only one isn't always valid. The debugging output I was seeing came from the __init__ of my template tag's Node class. However, the render me

One to Many relationship display

2009-10-16 Thread eugened
Probably trivial question but I can't find the answer: My model consist of 2 objects: Profile and Folder One profile can have multiple folders My task is to display or serialize into json Profile and list of folders in one request. So far I get only parent fields(Profile) but not folders. I am new

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread jc
Finally. I wonder if their site uses django? On Fri, Oct 16, 2009 at 7:36 AM, turk970 wrote: > > You love your dog and your dog love’s you! > > > Give your dog the opportunity to find a soul mate, enjoy life to the > full and who knows maybe end up with little puppies. HavlaTavla.Com is > the n

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread Ramdas S
On Fri, Oct 16, 2009 at 10:48 PM, jc wrote: > > Finally. I wonder if their site uses django? > Its php --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dja

Help to choose web-template

2009-10-16 Thread Михаил Лукин
Not really Django question, so i'm sorry :) I'm Python programmer, not a web-designer. I wasted a whole day by reinventing the wheel. First, I made base template myself. Then I dumped HTML and CSS from some favorite sites and tried to apply them to my app. Then I googled for free web-templates and

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread Михаил Лукин
It's the dog. The dog is the one who uses Django. All the time. On Fri, Oct 16, 2009 at 9:18 PM, jc wrote: > > Finally. I wonder if their site uses django? > > On Fri, Oct 16, 2009 at 7:36 AM, turk970 wrote: > > > > You love your dog and your dog love’s you! > > > > > > Give your dog the oppor

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread jc
Hmm, well that's no good! ;) On Fri, Oct 16, 2009 at 10:21 AM, Ramdas S wrote: > > > On Fri, Oct 16, 2009 at 10:48 PM, jc wrote: >> >> Finally.  I wonder if their site uses django? > > Its php > > > > --~--~-~--~~~---~--~~ You received this message because you a

Re: Help to choose web-template

2009-10-16 Thread Adam Stein
Have you checked out Open Source Web Design (http://www.oswd.org/)? I got all the templates that I use from this site. On Fri, 2009-10-16 at 21:20 +0400, Михаил Лукин wrote: > Not really Django question, so i'm sorry :) > > I'm Python programmer, not a web-designer. I wasted a whole day by > re

Re: Help to choose web-template

2009-10-16 Thread Mario
If you are going to learn something new might as well learn something useful and beneficial. I suggest trying out Blueprint CSS Framework. It works great with Django templates. The URL is http://www.blueprintcss.org/ Or try these following sites: http://www.456bereastreet.com/lab/developing_wit

Re: One to Many relationship display

2009-10-16 Thread cerberos
Familiarise yourself with the python command line ('manage.py shell') and the querying docs, shouldn't take long. http://docs.djangoproject.com/en/dev/topics/db/queries/ I like the improvements that ipython brings to the command line, but that's not relevant. Hope this helps On Oct 16, 11:5

Re: Help to choose web-template

2009-10-16 Thread Михаил Лукин
Adam, thanks for the link! So much to choose from. Mario, I'll check out blueprintcss. Other three sites provide (as I can see) just layouts. Pretty good layouts, but colors and fonts are another things that I do not want to waste my time to :) Again, thanks you both! On Fri, Oct 16, 2009 at 9:4

django blog

2009-10-16 Thread lafada
Hi, I'm trying to integrate django basic apps blog Application. I installed it on my project. the blog index templates works fine, but post details is now working, shows me following error. TemplateSyntaxError at /blog/2009/oct/15/hello-world/ Caught an exception while rendering: Reverse

Should (or can) you have many to many relationship with abstract base class

2009-10-16 Thread Chip Grandits
I am fairly new to Django. I have a strong background in object oriented design, but only a shallow familiarity with relational database design. I am trying to develop my models and I have a sort of general philosophical question about what the ORM is capable of, and how it should be used. So l

Re: Template code runs in both branches of an if statement

2009-10-16 Thread Chip Grandits
Pete, I'm not completely familiar with you problem or what exactly 'get_latest' does. But my intuition is that you may wish to consider rewriting 'get_latest' to be more "lazy" If it is not exactly clear what I mean by that see Django online docs on lazy querysets e.g. http://docs.djangoproject.co

Re: Design decision

2009-10-16 Thread Chip Grandits
I'm not sure if there is an exact technical defintion of the term 'bind' here. I am assuming you will need the two applications to share a common database? And I am assuming that other application has already been developed and deployed and so you are inclined to work around it? So this becomes m

Re: SVG and Django

2009-10-16 Thread claytonbonelli
Thanks, The SVG file AND the image files are on the same location (production server), and that location works fine. The image file is displayed on my html page, but the SVG file dont. On Oct 16, 9:35 am, Tim Chase wrote: > > > >     > >     > >       > >       >            type="image/svg+xm

Re: Should (or can) you have many to many relationship with abstract base class

2009-10-16 Thread Kurt Neufeld
You're mixing two metaphors and will run into troubles, just accept that relational databases are not an inherited object model. But to answer your question consider the following: table PetType: int id string name int number_of_legs table Pet int id int type_id // foreign key

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread Gerard
Ik think it's .. My dog ate the website :) ?? ? wrote: > It's the dog. The dog is the one who uses Django. All the time. > > On Fri, Oct 16, 2009 at 9:18 PM, jc > wrote: > > > Finally. I wonder if their site uses django? > > On Fri, Oct 16, 2009 at

Trouble on Apache: unable to open database file

2009-10-16 Thread John D Giotta
I'm running django with mod_python/Apache and its my first time setting up a server. Among the problems, when I navigate to the address I receive an OperationalError "unable to open database file." I can't help but think my vhosts.conf is done wrong. --~--~-~--~~~---~-

Best way to generate a local file from a models + views ?

2009-10-16 Thread Nicolas Steinmetz
Hello, I'm building a django app to manage the reverse proxies of my firm. I'm at the step where I want to generate configuration files for apache and then send it from the server that host the django app to the reverse proxies. I built a view base on a generic view (object_detail) with some

Navigation without lose data

2009-10-16 Thread gustavo
Hi, I have a image gallery and I am trying to make a fixed menu with the gallerie's names, so I can click each name and see the thumbs on the left below positon from the menu, and then click each thumb to see the real picture on the right below position from the menu. But when I click on a galle

ViewDoesNotExist at /

2009-10-16 Thread neri...@gmail.com
I'm not sure why I'm getting this error when the module and view are right where they should be. Traceback: File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py" in get_response 83. request.path_info) File "/usr/lib/python2.6/dist-packages/django/core/urlresol

Re: SVG and Django

2009-10-16 Thread Javier Guerra
On Fri, Oct 16, 2009 at 2:35 PM, claytonbonelli wrote: > The image file is displayed on > my html page, but the SVG file dont. maybe some mime-type configuration missing? -- Javier --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Django SAAS projects

2009-10-16 Thread Savy
Hi Djangonauts, I am developing a Django project (with a few pluggable apps). I want to offer this project as a SaaS (something like 37signals.com). i.e: customer1.product1.com , customer2.product2.com etc product1 could be the basecamp product2 could be highrise and so on. I want to know

Re: UML and OCL

2009-10-16 Thread jcabot
> ). It currently works with Argo UML > diagrams but could, in theory, be easily extended to support other UML > authoring applications. Or you could use my free XMI transformation service to export models created with other UML tools to ArgoUML. Btw, I've been using WebML, UML/OCL for a long ti

Re: UML and OCL

2009-10-16 Thread jcabot
I guess it would be a good idea to at least provide the link to the transformation service I mentioned in the last email :-D http://modeling-languages.com/content/xmi2-tool-exchanging-uml-models-among-case-tools: Jordi -- Software modeling languages portal: http://modeling-languages.com Softwa

Re: invalid sytax when naming url

2009-10-16 Thread David
Ah great thanks! On Oct 15, 10:33 pm, Adam Olsen wrote: > On Thu, Oct 15, 2009 at 10:14 PM, David wrote: > > > I can't figure out why this is invalid syntax... > > You can't pass a keyword argument to a tuple.  It should read: > > url(r'^$', object_list, list_args, name='list'), > > -- > Adam O

Question about template

2009-10-16 Thread David
Hello, I would like to use if clause to check if a number is nagative or not with template in my html file. I read related part in Django template online document however I did not find what I need. Is it possilbe to do this with built-in Django filter functions? Or do I have to install a third-

Re: SVG and Django

2009-10-16 Thread Bayuadji
Perhaps also should set some response headers to svg type? On 10/16/09, Javier Guerra wrote: > > On Fri, Oct 16, 2009 at 2:35 PM, claytonbonelli wrote: >> The image file is displayed on >> my html page, but the SVG file dont. > > maybe some mime-type configuration missing? > > > -- > Javier > >

Re: ViewDoesNotExist at /

2009-10-16 Thread Bayuadji
Hi, I would check by running a shell and impor ssl_test.views. if its work correctly, perhaps there's some import circular dependency though. -djibon- On 10/16/09, neri...@gmail.com wrote: > > I'm not sure why I'm getting this error when the module and view are > right where they should be. >

create Index: non-unique, multiple column

2009-10-16 Thread jneto
Given the following model, I want to index the fields (sequence,stock) class QuoteModel(models.Model): quotedate = models.DateField() high = models.FloatField() #(9,2) DEFAULT NULL, low = models.FloatField() #(9,2) DEFAULT NULL, close = models.FloatField() #(9,2) DEFAULT NULL,

Use one project for a blog, forums, and custom application?

2009-10-16 Thread Robert Adams
Howdy Im still fairly new to Django, so please explain things with that in mind. I'm trying to create three websites using 2 subdomains and 1 domain: for the blog, blog.mysite.com for the forums, forums.mysite.com for the custom web app, mysite.com When building the custom web app, I used contr

Re: Question about template

2009-10-16 Thread Michael P. Jung
> I would like to use if clause to check if a number is nagative or not > with template in my html file. I read related part in Django template > online document however I did not find what I need. > > Is it possilbe to do this with built-in Django filter functions? Or do > I have to install a thi

Re: create Index: non-unique, multiple column

2009-10-16 Thread Michael P. Jung
> Given the following model, I want to index the fields (sequence,stock) There is a ticket for it, but it hasn't made it into Django, yet. http://code.djangoproject.com/ticket/373 > create index ndx_1 on model_quotemodel(sequence,stock); > Is there any "cleaner" way of doing it? If you ask me,

Re: Question about template

2009-10-16 Thread David
Thanks Michael for your reply. What I need is to present money values to end users online. If the values are less than zero, then I need to put "-$" before them. Otherwise I just put "$" there. I will read your link and write a filter to do this. Thanks again. On Oct 16, 4:53 pm, "Michael P.

Re: Use one project for a blog, forums, and custom application?

2009-10-16 Thread Kevin Teague
This isn't Django-specific, but to simplify things, you may want to go for: mysite.com/blog mysite.com/forums mysite.com/custom Since browsers send authentication based on the domain, if you use different sub-domains for each app in a web site, it will be necessary to login (albiet using the sam

Re: Use one project for a blog, forums, and custom application?

2009-10-16 Thread Robert Adams
Thanks for the reply. I realize it would be substantially easier to use mysite.com/blog type urls, but I would still prefer use the blog.mysite.com since that is often the convention. You bring up a good point about the authentication though. I had not thought of that. While it would be preferab