In the urls.py of one application i decided to use this idea.
import os
APP_DIR = os.path.dirname(os.path.abspath(__file__))
APP_NAME = os.basemane(APP_PATH)
I'm not sure about the performance implications of using this os
import here.
¿Do you use any similar idea to make applications movab
Hi all,
I'm planning how to design a model to be used in a survey application.
The casic idea is to have some surveys made of questions.
I'm not sure about the best choice betweem:
a) define Survey class with no foreign key in it and define Question
class with a ManyToManyField pointing to Survey
2 matches
Mail list logo