Re: database migrations

2019-08-04 Thread Mike Dewhirst
Once I have a database I wish to replicate many times for testing I just use pg_dump to create a json file which can be reloaded into an empty database as often as required. For that I use a script which sequentially calls dropdb, createdb and finally psql which nominates the json dump file cre

Re: tinymce no module exists

2019-08-04 Thread Mike Dewhirst
On 4/08/2019 9:52 pm, Kean wrote: Hi, Im trying to improve text field with a text editor in an app i created with django. Installed tinymce4-lite using pip3 into my virtaulenv. You need to pip3 install django-tinymce4-lite updates apps in system.py with 'tinymce' I don't use system.py.

Re: need to support anonymous users with a simple one time disclaimer agreement

2019-08-04 Thread Ken Whitesell
Gregory, Not only is it not practical in Django, it's not a realistic solution using any framework. There is no "machine ID" that is exposed to a web site, and originating IP addresses completely fails for all people accessing your site from behind a NAT box or other similar functional d

Re: tinymce no module exists

2019-08-04 Thread Kean Dumba
Hi Sam, Thanks added tinymce to apps as recommended, but still getting the same error Best, K On Sun, 4 Aug 2019 at 15:06, Sam W wrote: > Add it to the installed apps > > INSTALLED_APPS = ( > ... > 'tinymce', > ) > > -- > You received this message because you are subscribed to the Go

tinymce no module exists

2019-08-04 Thread Sam W
Add it to the installed apps INSTALLED_APPS = ( ... 'tinymce', ) -- 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.

Re: database migrations

2019-08-04 Thread Jani Tiainen
Hi. To me this sounds more debugging issue than migrations or database problem. Since it is most definitely your code that doesn't work right. Of course if youre building and testing features that fill thousands of entries or relatively complex data there are options. Personally I use "template

tinymce no module exists

2019-08-04 Thread Kean
Hi, Im trying to improve text field with a text editor in an app i created with django. Installed tinymce4-lite using pip3 into my virtaulenv. updates apps in system.py with 'tinymce' mapped url in project settings 'path('tinymce/', include('tinymce.urls')), but still get error ModuleNotFoundE