Adding LocaleMiddleware does not show pretty error pages

2014-08-10 Thread Me Sulphur
Django usually renders prettified error pages when DEBUG and TEMPLATE_DEBUG are True in settings.py. However, when I add the LocaleMiddleware, The template only outputs: 'A server error occurred. Please contact the administrator.' and prints the traceback in the runserver terminal instead.

1.7: module has no attribute

2014-08-10 Thread Malik Rumi
I am trying to make my first django project using 1.7. When I try to run python manage.py * (runserver, makemigrations, shell, validate - it doesn't matter) I get the same error: slug = models.Slugfield(max_length=50, unique=True) AttributeError: 'module' object has no attribute 'Slugfield'

Re: GHS classification interest

2014-08-10 Thread Mike Dewhirst
On 11/08/2014 2:01 PM, Shubham Pansari wrote: Hi, Can you tell a bit more about the work you need. Like it is a full time or part time, paid or unpaid. What arethe requirements that you are seeking? I'm primarily looking for people interested in the GHS for its own sake but not (yet) as paid

Re: GHS classification interest

2014-08-10 Thread Shubham Pansari
Hi, Can you tell a bit more about the work you need. Like it is a full time or part time, paid or unpaid. What are the requirements that you are seeking? Thanks. On Mon, Aug 11, 2014 at 5:58 AM, Mike Dewhirst wrote: > Is anyone here interested in the GHS? Or working

OS license requirements

2014-08-10 Thread Mike Dewhirst
Apologies for cross-posting I'm getting near to open sourcing a Django project and have to choose an appropriate license. Can anyone help me choose? I have settled on the following requirements ... 1. Project source must be freely available for end users to view and download and modify and

GHS classification interest

2014-08-10 Thread Mike Dewhirst
Is anyone here interested in the GHS? Or working for a large chemical manufacturer? I'm building a GHS classification system which constructs jurisdictionally aware SDSs. It is reaching the point where I need to bring others into it. Thanks Mike -- You received this message because you

Re: Admin options are just ignored

2014-08-10 Thread Adrian Marshall
Think I found the problem. You're not registering the new Admin model classes you have made. change: admin.site.register(Resguard) to this: admin.site.register(Resguard,ResguardAdmin) do the same with the rest of your admin.site.register() functions That should work! Hope that

Admin options are just ignored

2014-08-10 Thread somenxavier
Hi, I'm following the django tutorial with my application. When I add fieldset, search_fields, and other options in the admin.py in my app, django-admin ignores that. You can see the source code [here](https://github.com/somenxavier/serviedre-tasques/tree/master/serviedre) Can anyone take a

Re: creating project in Django

2014-08-10 Thread Kelly Nicholes
Django-admin has to be on your environments path. Find where your Django-admin.oh file is and do the whole path. python c:\...\Django-admin.python startproject myproject. Maybe you forgot to activate your virtualenv? Sorry about random capitalization. Typed on my phone. -- You received

Re: creating project in Django

2014-08-10 Thread Mariusz Wilk
I even uninstalled Django and installed it again. But the problem (from the first post) remains. -- 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