Re: Problems with dumpdata/loaddata

2016-04-07 Thread jorrit787
Opening the JSON file in Notepad++ certainly gives some insight... It says it's encoded in USC-2 LE BOM. Converting it to UTF-8 with BOM in Notepad++ solves the problem. Question though, why does dumpdata create files with an encoding that can not be used out of the box with loaddata? -- You

Django 1.9 Woes

2016-04-07 Thread SillyInventor
I am trying to transition to Django 1.9 from my 1.8 app. Simply creating the migrations for old databases is fine, but when I try to create a fresh database with migrate I get: "Error creating new content types. Please make sure contenttypes " RuntimeError: Error creating new content types.

Pythonpath issues with apache when starting django server.

2016-04-07 Thread Jonty Needham
I'm running mod-wsgi and I've got the following config in my Virtualhost in my apache site config: SetEnv F3_SECRET_KEY Very_secret_keySetEnv DJANGO_SETTINGS_MODULE config.settings.setttings WSGIScriptAlias / /var/django/path/to/my/app/config/wsgi.py WSGIDaemonProcess wsgiprocess

Re: Any Django users based in Chile?

2016-04-07 Thread 'Mariano Baragiola' via Django users
FYI https://people.djangoproject.com/ Cheers from Argentina. -- 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

query on django orm :- please help me to make a django base queryset, i have tried a lot but unable to make it.

2016-04-07 Thread JAI PRAKASH SINGH
hello all, please help me to make a django base queryset, i have tried a lot but unable to make it my records present are like under Model name:- MobileInfo id brandmodel_nameprice 1aaa 123 30 2aaa 123 35 3bbb

How to know which models have changed and need make migrations?

2016-04-07 Thread Daniel Roseman
You shouldn't ever need to make migrations in production. You make them in dev, commit to source control, deploy along with the rest of the code, then run the migrations in prod. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Applying migrations to multiple databases in django?

2016-04-07 Thread Amir Meirbekov
Please, take a look at this question . Spent whole day screening source code, but still can't figure out the problem. -- You received this message because you are subscribed to the Google Groups

Restoring deleted entries with db_constraint = False

2016-04-07 Thread Olivier Dalang
Hi, I need to implement the ability to restore deleted entries in the admin. Django-reversion handles this, but it doesn't seem to work well with relations : they aren't restored (at least in my tests). I thought of setting class MainModel(models.Model): > ... > class

Re: Looking for ways to improve my skills

2016-04-07 Thread Devrhoid Davis
Thank you Asif. Do you have any resources, books etc with these projects? regards, Devrhoid Sincerely; Devrhoid O. Davis, devrhoid.da...@gmail.com / devrhoid.da...@outlook.com (876)491-6186 | (876) 783-0452 BSc. Medical Physics /w Electronics, Research Assistant, Department of Physics,

Re: Any Django users based in Chile?

2016-04-07 Thread Vijay Khemlani
Chilean Django dev here We are not many, but at least there are plenty of Python developers here. Regards! On Thu, Apr 7, 2016 at 12:24 PM, John wrote: > Curious to connect with Django devs in Chile. > > Hoping to do a Django project with Chilean devs in the coming

Pycharm and DJANGO_SETTINGS_MODULE

2016-04-07 Thread Dariusz Mysior
Hi in linux console it's ok but in Pycharm in IPython console when I execute f.e. from django.contrib.auth.models import AbstractUser i have bug like below django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but > settings are not configured. You must either define the

How to know which models have changed and need make migrations?

2016-04-07 Thread Neto
In my localhost is everything migrated, but in production have "Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them." How to know which models have changed and need make migrations? Exist a command to know? -- You received this message

installation steps for django and virtualenv setup.

2016-04-07 Thread srinivas tummalapalli
Hi santosh,i installed oracle VM virtual box and linux mint, can send the installation steps for django and virtualenv setup. -- 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,

Any Django users based in Chile?

2016-04-07 Thread John
Curious to connect with Django devs in Chile. Hoping to do a Django project with Chilean devs in the coming months and would love to connect a bit more with the Django community there. Drop me a note if you're a Chilean dev floating around in the group. Thanks! -- You received this

Does anyone use Django on bluehost? "Cant find fcgi module" error on line 9 .

2016-04-07 Thread djangogirl21
We are using django on bluehost. Installed python, flup, django, and using a postgres server. Every time I try and run fcgi it gives an error that the module does not exist. Verified with bluehost that it is on our server. Put it in the htaccess file Help anyone -- You received this

Re: Problems with dumpdata/loaddata

2016-04-07 Thread ludovic coues
I believe the json file start with 0xff 0xfe, which mark the file as UTF-16. The problem is that these two character are invalid at the beginning of a json file. The problem have the same root for the xml. UTF-16 file but it pretend it is utf-8 encoded. These problems might go away on another OS

Re: New Django User

2016-04-07 Thread Bruno Barbosa
Hello Chen, welcome to Django community! I think you can start with Django Tutorial: https://docs.djangoproject.com/en/1.9/intro/tutorial01/ Good luck! -- Bruno Barbosa Web Developer *brunobarbosa.com.br * On Thu, Apr 7, 2016 at 6:29 AM, Chen

Re: Dedicated pages for specific group members

2016-04-07 Thread Larry Martell
On Thu, Apr 7, 2016 at 3:56 AM, Luca Brandi wrote: > Hi > is there a possibility to create some group members and let them have some > secific url pages accessible to? > I am thinking to a kind of "if staff is member of group"open link page.. A quick google for this came

New Django User

2016-04-07 Thread Chen
I'm new to Django.. I actually wanted to take inputs from a web user through web page and then using those inputs perform further operations. So does Django helps in connecting HTML, Python and PHP altogether? How do I connect a html and python file? I have a user login page which I can proceed

Suggest newsletter to integrate in django project

2016-04-07 Thread Luca Brandi
Hi, followed some tutorials on the web integrating Mailchimp in my django project but not working... Any suggestion on a similar service easily to integrate in django? thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Django + apache + mysql on mac

2016-04-07 Thread Akshay Rajput
Hi all, I am trying to install django apache and mysql on OS X 10.11 EL Capital, Since this OS comes with apache 2.4 already installed, please help me installing mysql and connecting it to phpmyadmin and configuring it in Django. I tried online tutorial but It did not help, as soon as,

Dedicated pages for specific group members

2016-04-07 Thread Luca Brandi
Hi is there a possibility to create some group members and let them have some secific url pages accessible to? I am thinking to a kind of "if staff is member of group"open link page.. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group.

Why I can not run my test, namely my custom apps with django-nose?

2016-04-07 Thread Seti Volkylany
*Project structure:* apps ├── app_accounts │ ├── admin.py │ ├── apps.py │ ├── backends.py │ ├── forms.py │ ├── __init__.py │ ├── managers.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20160407_0938.py │ │ ├── __init__.py │ │ └── __pycache__ │ │