top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

0 votes
23 views

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

posted Aug 30 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social 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 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...

+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.

+2 votes
(venv)avinash@dell ~/django_projects/usertracking $ python manage.py runserver 113.193.144.56:80
Performing system checks...

System check identified no issues (0 silenced).
December 27, 2014 - 13:12:42
Django version 1.7.1, using settings 'usertracking.settings'
Starting development server at http://113.193.144.56:80/
Quit the server with CONTROL-C.
Error: That IP address can't be assigned-to.
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...