top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

In Django Project what are files need to ignore while adding into the repository.?

0 votes
304 views

Like in Angular Project we will use npm modules,dist etc. Similarly whats for Django Projects?

posted Aug 30, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Hello there!

Almost all the files in a Django project are very important. When you want to upload your project to your repo make sure you upload all.

The only exception I can think of is your migrations file. It contains a summary of the migrations you made to your models.

You can delete this, not important.

answer Oct 30, 2018 by Uncle Sherlock
Similar Questions
+1 vote

I have created a django project some months ago. It is an online survey. Now I want to add a button that when pressed adds something to a database, but does not change any existing functionalities.

Brief explanation:
button will always be present at the pages with survey questions,
when pressed it will simply add a page number (at which page user decided to press the button) to a database, but the user will continue with the survey as normal.
(when the button is pressed, the view, template, questions at hand should not change. Nothing changes for the survey subject!)

My question is how to simply add this button without interfering with the survey.
I do not need detailed instructions with models, views, templates, etc. just brief idea if it is possible to do that without adding new view, reloading view, adding forms etc...

0 votes

I'm new to python and Django projects. Can anyone guide me with the steps for Django deployment?

+1 vote

Anyone can explain how to delete or alter existing table in database?

+1 vote

I want to count the number of active user in website and also I have to display their IP Address by using python Django framework.

...