Re: How 2 access the Primary model's ID in the Foreign model??

2019-01-01 Thread mazz ahmed
Hello, hope everyone doing well. I am working on tornado framework. I want to use admin panel for that app but I am getting a single solution using Django alongside of tornado for admin panel. I want to use some package in the tornado which gives me admin panel. If anyone knows let me know Please.

Re: MySQL accepts 0 for a primary key but Django does not

2019-01-01 Thread Derek
Hi Simo My custom app has no particular structure - its really just a collection of files and utilities that are commonly used across multiple apps. It gets imported, along with all the others, in the settings file. When I follow your suggestion of just referring to "custom", I get this erro

Re: MySQL accepts 0 for a primary key but Django does not

2019-01-01 Thread mazz ahmed
Hello, hope everyone doing well. I am working on tornado framework. I want to use admin panel for that app but I am getting a single solution using Django alongside of tornado for admin panel. I want to use some package in the tornado which gives me admin panel. If anyone knows let me know Please.

Posting data from templates to views.py without using forms.

2019-01-01 Thread Surajeet Das
Well , I want to post data from templates to views.py by clicking a button without using forms. Basically the button should not be of type submit because I don't want the page to be refreshed .I want to view the data from database after the query in the same page. -- You received this message

Re: Posting data from templates to views.py without using forms.

2019-01-01 Thread pradam
Hi Surjeet, Then you should rely on ajax call or angularjs using ng-click. On Tue, Jan 1, 2019 at 8:16 PM Surajeet Das wrote: > Well , I want to post data from templates to views.py by clicking a button > without using forms. Basically the button should not be of type submit > because I don't w

Re: Posting data from templates to views.py without using forms.

2019-01-01 Thread pradam
Hi Surjeet, Then you should rely on ajax call or angularjs using ng-click. On Tue, Jan 1, 2019 at 8:16 PM Surajeet Das wrote: > Well , I want to post data from templates to views.py by clicking a button > without using forms. Basically the button should not be of type submit > because I don't w

Zip file upload

2019-01-01 Thread Suresh
hi guys, How to upload zip file and save unzip file in django? -- 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

Re: Zip file upload

2019-01-01 Thread Joel Mathew
No ready made solution. You have to come up with your own solution. Use form to upload file On Wed, 2 Jan, 2019, 9:57 AM Suresh hi guys, > How to upload zip file and save unzip file in django? > > -- > You received this message because you are subscribed to the Google Groups > "Django users"