Re: Documentation of modules

2014-03-12 Thread Christian Waterkeyn
Thanks. But this is not reference documentation! For example, the link django.core.management points to information for "Writing custom django-admin commands" What I am looking for is the documentation of the classes, methods and properties in the management module. This is visible in the link I

Different URLCONF for different domains

2014-03-12 Thread Guy Tamir
Hey all, I have a Django app that serves to multiple domains. In the primary domain (lets call it primary.com) I have some page that are server via the path - primary.com/a/ I want users from another domain (lets call it secondary.com) to be able to get to this path : primary.com/a/ by entering

"depth" keyword argument has been deprecated. Use related field names instead.

2014-03-12 Thread Timothy W. Cook
I am using django-forms-builder and I am updating it to work with later versions of Django. I get the above deprecation warning. This is the code: forms.py line 367: # Get the field entries for the given form and filter by entry_time # if specified. model = self.fieldentry_model

Python- Build rpm for a django project

2014-03-12 Thread shruti mehra
I have a django project which i want to distribute to another machine(Linux). That machine doesn't have python, django or any other dependent libraries. I wanted to create a standalone setup for django project so that i can run my site created in django on that Linux machine. So how would i be

Re: Different URLCONF for different domains

2014-03-12 Thread Shawn Milochik
URLs will be processed in the order they appear in your urls.py file. If one of your first entries in urls.py is an "include" that handles all URLs that start with "/a/", then all those requests will be handled by the URL patterns in the included URLs.py. Then, all URLs that don't get "caught" by

Re: Different URLCONF for different domains

2014-03-12 Thread Guy Tamir
Hey, I'm aware of what your saying but I'd I like to reconfigure in a way similar to django-subdomains only instead of specifying the sub domain I'll specify the domain.. Is there a good hack you can think of that can help me in this case? O

Re: Timeseries Data Collection as a Reusable App

2014-03-12 Thread Jonathan Morgan
On the model side, to facilitate a generic visualization layer, you could also consider an abstract parent class where you standardize time series information that isn't the data. For my time series data, I have this: https://github.com/jonathanmorgan/django_time_series I built a few django ti

Re: django-quiz modification

2014-03-12 Thread orchid barua
The view portion has this: def question_check_anon(request, quiz): """ check if a question is correct, adds to score if needed and return the previous questions details """ quiz_id = str(quiz.id) guess = request.GET['guess'] answer = Answer.objects.get(id=guess) questio

Is djangoproject down?

2014-03-12 Thread Robert Slotboom
Hi guys, I am trying to visit djangoproject.com but the site is not responding for hours. Is it down?? Cheers Rob -- 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

Re: Is djangoproject down?

2014-03-12 Thread Nevio Vesic
noup -- 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.co

Re: Is djangoproject down?

2014-03-12 Thread François Schiettecatte
Works for me, from the US East Coast. François On Mar 12, 2014, at 10:44 AM, Robert Slotboom wrote: > Hi guys, > > I am trying to visit djangoproject.com but the site is not responding for > hours. > Is it down?? > > Cheers > > Rob > > -- > You received this message because you are subscr

Re: django user (using django ORM) + SQLAlchemy for other db tables

2014-03-12 Thread Philip Goh
On Tuesday, 10 September 2013 20:31:20 UTC+1, Avraham Serour wrote: > > so again I question why? what exactly do you need in SQLAlchemy? also > what's so special about django auth? you could easily create your own > custom auth relying on SQLAlchemy. > I'm in a similar situation as I have an a

django.utils.html.smart_urlquote() is incorrectly unquoting embedded url?

2014-03-12 Thread Md. Enzam Hossain
Hi all, When we give django.utils.html.smart_urlquote() an url with an already embedded query as a query paramater, it is unquoting it which it should not do. For example, smart_urlquote('http://example.com/?q=http%3A%2F%2Fexample.com%2F%3F x%3D1%26q%3Ddjango') returns 'http://example.com/?q=htt

Re: Attempting to setup Graphite (Django/Gunicorn) DJANGO_PATH not set and "no such table: auth user"

2014-03-12 Thread Tony Su
> > Resolved although at the moment I don't have the answer to my specific > questions. > I found a working and maintained script for installing on Ubuntu. I can't say how extraordinary it is to actually find a Graphite install script that sets up Django in working order https://github.com/gdb

Re: django.utils.html.smart_urlquote() is incorrectly unquoting embedded url?

2014-03-12 Thread Erik Romijn
Hello, On 12 Mar 2014, at 17:48, Md. Enzam Hossain wrote: > When we give django.utils.html.smart_urlquote() an url with an already > embedded query as a query paramater, it is unquoting it which it should not > do. At first sight, this appears to be an intended behaviour. See

Django-nested-inlines

2014-03-12 Thread Thiago borges dos reis
Someone knows how to use django-nested-inlines. I did this: from django.contrib import admin from nested_inlines.admin import NestedStackedInline,NestedModelAdmin,NestedTabularInline from models import Dieta, Cliente,Refeicao,Opcao admin.site.register(Cliente) class OpcaoInLine(NestedStacked

help with django-cms install for existing django site

2014-03-12 Thread eric . frost
hi folks! I've been struggling getting django-cms to work properly in an exising django site. Would someone be willing to work with me on a paid basis? You would just connect to my machine, I'd show you where everything is, etc. Maybe it would just take an hour or two initially, but could also

Dynamic database routing in Django

2014-03-12 Thread Philip Goh
Hello list, In my database, I have a `Customer` table defined in my database that all other tables are foreign keyed on. class Customer(models.Model): ... class TableA(models.Model): Customer = models.ForeignKey(Customer) ... class TableB(models.Model):

Re: Different URLCONF for different domains

2014-03-12 Thread Russell Keith-Magee
On Wed, Mar 12, 2014 at 4:57 PM, Guy Tamir wrote: > Hey all, > > I have a Django app that serves to multiple domains. > In the primary domain (lets call it primary.com) I have some page that > are server via the path - primary.com/a/ > I want users from another domain (lets call it secondary.com)

Self referencing models initialization

2014-03-12 Thread Santiago Palacio Gómez
Hi everyone, I'm a Django newbie, and I was following the tutorial for 1.6, creating a new app where one of the models is self-referencing. They ask to, in manage.py shell, create an instance of the model. But, as my model has a self reference foreign key, I can't pass any object to the key. I

Re: Dynamic database routing in Django

2014-03-12 Thread Xavier Ordoquy
Hi Philip, I'm not sure your sharding will be possible in the way you describe it. There will be cases for which selecting the database will not be possible. For example, Customer.objects.get(name=) won't be able which DB you'll need to hit to get the result. Same goes for a new Customer. H