Questions tagged [django-apps]

Django apps are reusable collections of django code that use the ORM layer. They may provide a single model class, or they may implement a full web application, or provide any mixture of such functionality.

Django apps are reusable collections of django code that use the ORM layer. They may provide a single model class, or they may implement a full web application, or provide any mixture of such functionality.

421 questions
0
votes
1 answer

Django app: best place for a routine on enable app

I have a project in django 1.10 that has some apps. This project will be used by several organizations, and depends on each of them which apps will be enabled. Where is the best place in an app to include a function that has to be run only when the…
XaviP
  • 188
  • 1
  • 2
  • 8
0
votes
0 answers

How to automatically generate notification to user when events is added?

I have developed a website having functionality such as writing,posting ,user profiles, events & activities, offers..etc.I need to add one more functionality and i.e. Automatic push notification to the users about activities & events, offers and…
0
votes
1 answer

Django app per websitemenu item?

I have a question about aesthetic website like apple.com for example. I see the website menu items Mac, iPad, iPhone, etc... My question is : Would you consider each menu item as a Django app or all menu items are considered by the same Django App…
user7339197
  • 1,879
  • 2
  • 9
  • 12
0
votes
1 answer

Django site architecture

When you are busy developing an app, it is sometimes easy to get carried away and write many many models, somewhat related. Then, the question is how to layout the website given all the models. Say you have the following models: models: M1, M2,…
EarlyCoder
  • 1,213
  • 2
  • 18
  • 42
0
votes
1 answer

Django App vs Apps?

I have read some StackOverflow answers including Django: "projects" vs "apps" and using django apps vs established apps...security? , but I am still looking for advice how to organize my Django application and why? My market place app has following…
Kimmo Hintikka
  • 13,472
  • 7
  • 34
  • 63
0
votes
1 answer

Django friendship in messages compose

I am using django-friends and django-messages. I have modified my custom compose form to pull the following information, myfriends and also display their fullnames instead of just usernames. One problem I have is that I cannot seem to access myself…
ApPeL
  • 4,801
  • 9
  • 47
  • 84
0
votes
1 answer

create plugin from polls application

I installed app Polls from with pip install -e git+http://git@github.com/divio/django-polls.git#egg=pollsfrom. Application is saved /me/env/src/polls/ . I run server from /me/project/. I get an error Poll Plugin cant be imported. How can i define…
OverHeat
  • 129
  • 2
  • 12
0
votes
1 answer

Models and Apps in Django

I am creating a Django Project . It has n number of Apps in it . Also it has different models . A model will have to be defined in an App . But the apps are interrelated . So a model defined in one app can also be used in another app . So how to…
FibonacciCoder
  • 121
  • 1
  • 8
0
votes
1 answer

Turn off imported app's AdminConfig in a Django Project

I have project, where i am utilizing an imported project, but I do not want the imported project's sections appearing in the automatic admin portal. is there away to override a projects adminConfig via configuration/code?
Nathan Tregillus
  • 6,006
  • 3
  • 52
  • 91
0
votes
1 answer

Deploying/packaging subsets of Django apps

We have a Django 1.10 project consisting of 7 apps (let's call them A-G). The project is actually three different servers consisting of different subsets of the apps like this: A+F, A+G, A+B+C+D+E. F and G are not referencing or referenced by any…
Sebastian
  • 5,177
  • 4
  • 30
  • 47
0
votes
1 answer

using django-easy_thumbnails from view

easy_thumbnails is a big help when making models or views for thumbnails. I am using the templatetag (via template, not via model) and easy_thumbnails creates sucessfully the thumbnail files. what happen when I want to use easy_thumbnails via…
panchicore
  • 11,451
  • 12
  • 74
  • 100
0
votes
1 answer

sending a function instance over API (django)

maybe a stupid question :) I have two Django apps, I need one of them to use the functions of the other one without importing them. as if I am requesting them using API, is there a way I can get an instance of a function and use it, I don't want to…
Mohammad Ali
  • 551
  • 7
  • 17
0
votes
1 answer

Can't uninstall Django app

I can't uninstall Django app. I've removed every occurence of the application in my code, removed all models and urls. Then, I removed parts of app from settings.py but it raises error when I remove them for settings.py. It has probably something to…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

How to use installed apps in Django?

I've installed a Django app - django_quiz into my Django project. After some problems, everything seems to be ok (no errors) except the error in template. In the django_quiz installation is written, that you have to put url(r'^q/',…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

django-simple-captcha installing app in settings.py

I'm trying to install django-simple-captcha (https://django-simple-captcha.readthedocs.org/en/latest/usage.html) It installed in pip correctly but I can't figure out how the next instruction, "add captcha to INSTALLED_APPS in…
Grant
  • 43
  • 6