Best way to keep the current selection

2016-07-26 Thread Lee Hinde
I'm wondering if there's a better way to maintain a selection of records across calls to the app. In one of my projects users can do ad-hoc searches; i.e., Last Name = Smith, Class Name = Yoga, etc. They do the search, then get the query results presented in a table. Then they can do things with

Help wanted in django-chartit!

2016-07-26 Thread Aadesh Rao
Hi All, - I am very new to Django and the version I use is 1.9.5. I am trying to plot simple pie graphs using "django_chartit2 0.2.2". - As per the chartit documentation: jquery and highcharts libraries are required. I have downloaded the respective libraries using bower and are in the location

Re: Django MySql weirdness

2016-07-26 Thread Steve Bischoff
https://github.com/django/django/tree/master/django/contrib/admin/migrations The migrations are in here - the code that is failing in 0002_logentry_remove_auto_add.py is operations = [ migrations.AlterField( model_name='logentry', name='action_time', field=models.DateTimeField( verbose_name='

Re: It is possible to somehow fill the database data as soon as all applications will be loaded?

2016-07-26 Thread Siddharth Ghumre
For Django version 1.7 and above use migrations to load initial data as South is inbuilt included in these versions. Prior to version Django 1.7 (1.6 and below) use fixtures to load initial data. https://docs.djangoproject.com/en/1.8/howto/initial-data/ Hope this helps. -Sid On Tue, Jul 26, 201

Re: It is possible to somehow fill the database data as soon as all applications will be loaded?

2016-07-26 Thread Jani Tiainen
Hi, Sounds like you're in need of data migrations to insert initial data while building up your database schema. On 26.07.2016 11:14, Seti Volkylany wrote: It is possible to somehow fill the database data as soon as all applications will be loaded. I explain the problem. It is necessary that

It is possible to somehow fill the database data as soon as all applications will be loaded?

2016-07-26 Thread Seti Volkylany
It is possible to somehow fill the database data as soon as all applications will be loaded. I explain the problem. It is necessary that the default database was an urgent data for the entire project, in my case, tags, level of accounts and professions. To resolve this problem, I created the nec

Re: How do I do a multiple select in the Admin filters ?

2016-07-26 Thread Hurlu
Hi Constantine, Thanks for your advice! I'll try the 1st approach and report back when I get a result / completely give up this approach. (which may take quite a few days, as i'll have to reformat lots of things in lots of models :,) ) Thanks again for the advice ! -- You received this messa