Comments (6)
Hi @GeekHamza1 ,
What changes would you like to make to migration? Basically, developing the djf_surveys is the same as the django app. If you want changes outside the djf_survey development path. Pleasefork
first, then follow these steps:
- clone project
- symlink app to
demo
ln -s [path_project_djf_survey] [path_demo_djf_survey]
- create env development
- active env
- enter directory demo,
cd demo
- now, you can access all command
manage.py
and edit all code.
from django-form-surveys.
after following these steps i will be able to add new migrations in djf_survey ?
from django-form-surveys.
It's same with you dev project with django.
edit model
- run
python manage.py makemigrations
from django-form-surveys.
I tried but it does not detect migrations ..
Also for html text i should update html text located in site-package/djs_survey/templates ..
Can i move the djs_survey from site-packages to my project app ?
from django-form-surveys.
Hi @GeekHamza1
It's not recommended to edit from the site-package
. If you want modify it project stand alone, I think you just copy folder djf_surveys
then including on your project. Or you can inherited class
to modify template or adding context
.
example:
from djf_surveys.views import SurveyListView
class YourClassModifyListView(SurveyListView):
template = 'your_template_dir/template.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['other_key'] = 'other_value'
return context
from django-form-surveys.
i copyed the djf_surveys to my project folder and added it to setting , but migrations not detected
from django-form-surveys.
Related Issues (20)
- wrong url on button close and about
- The number of pagination can be changed via settings
- [BUG] Zero Division Error HOT 1
- change type field choices question
- BUG: Download Report HOT 3
- Update string download response HOT 1
- `Key` field on `questions` HOT 2
- new layout add question form
- Emojis in text responses generate errors HOT 3
- Got Error when enter to summary page. Error msg is name 'ZeroDevisionError' is not defined HOT 1
- Got Error on share link when user didn't have answer !!! HOT 1
- Error migration HOT 1
- Forget to remove migration HOT 3
- Multiple ratings HOT 1
- Languages problem HOT 6
- ModuleNotFoundError: No module named 'djf_surveys.admins.v2' HOT 3
- Database data automatically deletes after a while. HOT 2
- Question, not really an issue. HOT 4
- Feature Theme: opstion bootstrap 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-form-surveys.