Re: Negative User ID's

2016-10-26 Thread James Schneider
On Oct 26, 2016 5:58 PM, "Mike Dewhirst" wrote: > > On 27/10/2016 9:57 AM, mich...@zanyblue.com wrote: >> >> Hi, >> >> The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from

Downside of using shortuuid as primary key

2016-10-26 Thread Suren Sth
I am considering to use shortuuid as the primary key for my models. Is there any downside to this? Does it severely affect db indexing? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Negative User ID's

2016-10-26 Thread Mike Dewhirst
On 27/10/2016 9:57 AM, mich...@zanyblue.com wrote: Hi, The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from accounts created for mailing list and/or service accounts. I was planning on using

Negative User ID's

2016-10-26 Thread michael
Hi, The Django contrib User model is used to create accounts in Django applications. I would like to keep accounts associated with real people separate from accounts created for mailing list and/or service accounts. I was planning on using negative ID's for these accounts and can't see any

Re: Using Socket Programmaing with django(for a chat room web app)

2016-10-26 Thread Daniel Furman
I'm a fan of socket.io I've done this in PHP using laravel and redis. There are python pub/sub providers as well so swapping the laravel/PHP for Django and Python should be very doable. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: How to use Django forms for surveys

2016-10-26 Thread Luis Zárate
Hi, we are developing something like you want, but it's a premature project right now, maybe in few months we launch our first stable version (survey monkey be aware...), the project home page is https://github.com/solvo/derb , see development branch for a updated version. So if you are

Re: Running django on demand via my PyQt4 Standalone app

2016-10-26 Thread Dam ian
yeah you are right with the WoW effect :) and i know this framework but its to complex for me :P i prefere to use PyQt4, for example you have something like QT Designer where you can graphically deploy and customize the whole UI and then convert to pure python, what make me my work easier. If

Re: Django menu and submenus

2016-10-26 Thread M Hashmi
Make sure you've included all the js/css ID/Class selectors in your newly created submenu. Reason might be that old code is rendering something from JS and your code missed it out. You can send code from before and after for better understanding. Regards, Mudassar On Wed, Oct 26, 2016 at 4:24

submenu from do not appear

2016-10-26 Thread Tetchi Boris Armel Kena
{% load i18n avatar_tags %} {% block title %}{{ SITE_NAME }}{% endblock %} {% block head %} {% if DEBUG_STATIC %} {% else %} {% endif %}

Django menu and submenus

2016-10-26 Thread Tetchi Boris Armel Kena
i'm coding a geonode app based on django and python architecture but also bootstrap. i change the boot strap navigation menu with a simple html and css but my probleme is that the submenu do not appear on the page please help me. -- You received this message because you are subscribed to the

Re: Silently continuing past an exception: is this proper? how else can I do this?

2016-10-26 Thread 'Tom Evans' via Django users
On Sun, Oct 23, 2016 at 1:39 PM, Andrew Chiw wrote: > It seems there's a problem with my code, because you're just supposed to > pass a dict to DocumentForm (or any modelForm really), not a model instance. > > I actually want to make a DocumentForm initialized with

Re: Django Project Structure

2016-10-26 Thread Vinicius Assef
See this link: https://docs.djangoproject.com/en/1.10/intro/tutorial01/#creating-the-polls-app The box "Projects vs app" can help you. On 26 October 2016 at 04:35, Deep Shah wrote: > I have a django project which is a loyalty program for restaurants. The > different

Django Project Structure

2016-10-26 Thread Deep Shah
I have a django project which is a loyalty program for restaurants. The different database tables are- Users (and extending it with User Profiles), Restaurant Company (the entire chain), Branches, Offers, Points (points which users get on visiting a particular restaurant) etc. How do I

Re: Methods in Models

2016-10-26 Thread Deep Shah
This makes sense! Thanks! On Monday, October 24, 2016 at 1:17:26 PM UTC+5:30, Deep Shah wrote: > > What kind of methods should be part of the models and what should be in > the views? Can anyone give me an example of a method which should be in a > Model than the views file? > -- You received