Re: Rails User management system to django user management system for REST API

2017-11-12 Thread James Schneider
On Nov 11, 2017 10:55 PM, "Asif Saifuddin" wrote: Hi, I have and existing live project running on rails. I have to expose the API's using django for now. I have generated models and edited them to create django model and mapping and exposed some API locally. I have one issue which is confusing

Re: Callback Function Not running

2017-11-12 Thread James Schneider
But this callback function dont get to run. The API is to issue a GET http request to the url specified as my callback url. The url specified is 'https://Jshhhtoo.localtunnel.me/callback/blue-cap' And in my urls.py i have this pattern url(r'^callback/(?P[-\w]+)/$', call_back, name='callback'),

Form on each page problem when upgrading from Django 1.4

2017-11-12 Thread yakkadesign
I'm in the process of upgrading a website from Django 1.4 and I'm run into a problem of getting my code that shows a form on almost every page migrated. I eventually want to upgrade to Django 1.11 but I'm currently working on upgrading from Django 1.4 to Django 1.5. I have a “request informat

[1.11] deviation between .create() and .update()

2017-11-12 Thread Henrik Baran
Hi Django users, I observed something weird while trying to update an existing database record. I create new records by passing a dictionary as **kwargs to .create(). This dictionary includes strings, integers and model instances matching with my model fields. However, one model field is a CharFie

Re: Migration Issues when updating model's default primary key from id to uuid

2017-11-12 Thread Liuyang Wan
Thanks for the link. It’s interesting that two years past the bug is still unresolved. -- 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...@

Re: Rails User management system to django user management system for REST API

2017-11-12 Thread Andréas Kühne
Hi, I really doubt this is a good idea. But if you want to user the same database for both applications, you will need to map up the database user model in django. You can find information about that on the following pages: https://docs.djangoproject.com/en/1.11/ref/contrib/auth/ https://docs.dja