Tuesday, January 1, 2013

Re: Happy new year

Happy New Year from Arizona!

Mark

On Jan 1, 2013 9:25 AM, "Amirouche" <amirouche.boubekki@gmail.com> wrote:
Bonne année, paix et prosperités!

Amirouche from Paris, FRANCE.

On Monday, December 31, 2012 10:42:13 PM UTC+1, cingusoft wrote:
Happy new year from spain to all django lovers.
I wish you a new year with tons of django projects.

Cheers
Cingusoft
BlackBerry de movistar, allí donde estés está tu oficin@

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/He2t7vHzrBAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: Happy new year

Bonne année, paix et prosperités!

Amirouche from Paris, FRANCE.

On Monday, December 31, 2012 10:42:13 PM UTC+1, cingusoft wrote:
Happy new year from spain to all django lovers.
I wish you a new year with tons of django projects.

Cheers
Cingusoft
BlackBerry de movistar, allí donde estés está tu oficin@

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/He2t7vHzrBAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: Happy new year

Happy new year from Miami FL

Sent from my iPhone

On Jan 1, 2013, at 1:36 AM, Master Jacob <jacob.j.rosales@gmail.com> wrote:

Happy new year from TEXAS!

On Dec 31, 2012 11:49 PM, "JOSE LUIS FABREGA" <jfabrega23@gmail.com> wrote:
Feliz año nuevo, desde venezuela

¡Le deseamos lo mejor !

--
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 this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Re: Replicating same model for different deployed application.



On Sunday, December 30, 2012 7:43:11 PM UTC+1, Subodh Nijsure wrote:

Exactly I was missing the django/web app terminology of multi-tenant app. 

I think, it's a software terminology, it isn't particular to web or django, but I encountered only in web.
 

I tried using https://github.com/phugoid/django-simple-multitenant and it seems to have issues. I will see if I can fix them with my limited knowledge of django.

Are there any good multi-tenants frameworks for django out there, any recommendations?

There is also the django.contrib.site that can be helpful, you might also be interested in a search about «django subdomains».


Amirouche
 

Regards,
-Subodh

On Sun, Dec 30, 2012 at 8:57 AM, Amirouche <amirouche...@gmail.com> wrote:
Héllo Subodh


On Sunday, December 30, 2012 3:57:36 AM UTC+1, Subodh Nijsure wrote:
Hi,

I have following situation where. My model consist of say table1, table2, table3. 

I am going to "host" similar data and associated web interface for multiple customers -( customer1, customer2, customer3.) they would access these application as http://hostname/customer1 http://hostname/customer2 etc.

When customer1 application is deployed I want tables customer1_table1, customer1_table2, customer1_table3 to be created. Same for customer2, 3 etc.

Right now I am thinking of having one "template" directory where all database names are referred to as replaceme_table1, replaceme_table2 etc.

When I actually deploy application for real customer say customer1 I am copying this template to directory customer1 and running sed to  change 'replaceme' with 'customer1' 

Is there a better, elegant way to do this in django where you have same  model that needs to be deployed as multiple django applications?

If I understand this is a multitenant application or multitenancy for short, one django instance for several customer. They are several application that are labeled like that, I can't recommend any in particular since I don't use it them.

Regards,

Amirouche

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/_np6wETOfSwJ.

To post to this group, send email to django...@googlegroups.com.
To unsubscribe from this group, send email to django-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/8K8rWUmvNlYJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Getting Access to Object in Admin Panel

Others have given you the answer, bit note that the correct way to call an object's __unicode__ method is to do ` unicode(obj)`. As a general rule, you should never call the double- underscore methods directly.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Fjb-P4OvhasJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Django jQuery AJAX Self Replacing Script

Hi,
I am not entirely sure of what you intend but I will suggest you refactor your javascript/jQuery code into 3 named functions, 1 for the original script, the other for the replacement script and the third function should just choose which of the first two functions to use depending on the ID of the clicked button. Then you will only ever need to replace the html. But I don't know the requirements of your op so I can't say for sure if this is the right way to go about it. There it is, my 2 kobo (cents if you are not a Nigerian). Happy new year all!
--abraham

--------------------------
Sent from my mobile device

--
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 this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

Monday, December 31, 2012

Re: When I set DEBUG=False, my 404.html doesn't appear



On Sat, Dec 29, 2012 at 12:43 PM, nimesh ghelani <nimeshghelani@gmail.com> wrote:
Can you post the shell output when 404 occurs along with the TEMPLATE_DIRS part of settings.py?


On Saturday, December 29, 2012 9:29:11 PM UTC+5:30, Dae_James wrote:
I put my 404.html into root of the directory specified in TEMPLATE_DIRS. However, when I visit an inexisting page, the browser's 404.html appears rather than my own 404.html page.
What's wrong with me ?
PS: I've set the DEBUG variable in settings.py to False.
 

Dae James

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/gHqHfu2BGzoJ.

To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

--
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 this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.