Re: facing issue on unit test

2019-09-08 Thread Arulselvam K
Thanks!, So for each test , do i need to add same test data? or do we have any other way not to repeat the same test data? On Tuesday, 13 August 2019 20:32:16 UTC+5:30, Vinicius Assef wrote: > > The database is cleared after each test method. > > So, in a new testcase your database is empty. > >

Managing links on static files from a static file

2019-09-08 Thread Михаил Брунман
Good daytime. I've spent some time trying to find a solution to my problem, but I still can't. Here is my problem. One of my html templates has a link on a javascript file, looking similar to this: The page is returned, when asking the next url: http://127.0.0.1:8000/app_name/page_name/ The

Re: Python +django

2019-09-08 Thread Jani Tiainen
Hi. You're on good track. Using Django doesn't require much but knowing Python, HTML and CSS surely helps. Django Girls do have excellent tutorial to get you kickstarted with Django. CSS can be easily handled with libs like bootstrap or material ui. What comes to programmin itself it takes a

Re: Python +django

2019-09-08 Thread Devdutt Bhati
https://www.youtube.com/watch?v=q6qE_uJB59c=PLd3UqWTnYXOnkicyzePnIg8rc2qEXgjiF learn this videos first and after learn django get some knowledge about python.

Python +django

2019-09-08 Thread kemo0 king
I am new on programming ,to be a programmer and getting the ability to create a web program that is one of my dreams , I have started with python I know little about html and css and js now I want to learn django am I on the right way what should I learn before diving in django I need ur

Re: how to pass user input into raw sql query ?

2019-09-08 Thread testdevleb
Sent from my Samsung Galaxy smartphone. I tried daniel solution and this was right. -- 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

Data on Popup

2019-09-08 Thread nitin kumar
How to popup unique id of recently saved data. I get the data by data = Class(##inserting value into table) data.save() data.id But how to print this is on popup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

Writing a text file from Form input

2019-09-08 Thread Michal Pavliš
Hello, so i'm writing a program that uploads invoices to an accounting webapp based on order info from Wordpress. At one point, the code takes an order number, fetches order data using the WP REST API and is supposed to write a .txt file in a specified location containing mentioned order

Re: Page 404 - No Job matches the given query.

2019-09-08 Thread Kean
access a given URL On 7 Sep 2019, at 21:46, Mclaren Sunday wrote: > What are you trying to do? > > On Sat, 7 Sep 2019 20:30 Kean, wrote: > Hi, > > New to Django, Have an issue. the table exists and the view references the > table however, I still get 404 message. > I have spent 8 hours