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
18
votes
2 answers

How do you actually use a reusable django app in a project?

This question has been troubling me for some days now and I've tried asking in many places for advice, but it seems that nobody can answer it clearly or even provide a reference to an answer. I've also tried searching for tutorials, but I just…
Joe
  • 3,120
  • 3
  • 25
  • 30
17
votes
5 answers

dynamically loading django apps at runtime

Is it possible to dynamically load Django apps at runtime? Usually, apps are loaded at initialization, using the INSTALLED_APPS tuple in settings.py. However, is it possible to load additional apps at runtime? I am encountering this issue in…
mjandrews
  • 2,392
  • 4
  • 22
  • 39
16
votes
4 answers

Moving django apps into subfolder and url.py error

I have a question about putting django apps into "apps" subdirectory. I have the app called “faktura” in a project_root. I didn’t like the fact it lies there and I want to store all my apps under “apps” subdirectory. So, I found out that I could…
Timus83
  • 681
  • 4
  • 12
  • 24
13
votes
4 answers

Monkey patching Django app in another app

We have a third party lib that we use in our Django 1.9 app. We would like to amend that application with some functionality not in the original app (targeting MongoDB). We currently do this via our own fork of the original lib, but would like to…
mwjackson
  • 5,403
  • 10
  • 53
  • 58
13
votes
2 answers

How to remove an app from a django projects (and all its tables)

I want to remove an app from a django project. I want to remove the tables of the app the content-types foreign-key usages of these content-types Running manage.py migrate app_to_remove zero does not…
guettli
  • 25,042
  • 81
  • 346
  • 663
11
votes
1 answer

How to use django-notification to inform a user when somebody comments on their post

I have been developing in django for sometime now, and have developed a neat website having functionality such as writing blogs, posting questions, sharing content etc. However there is still one thing that is missing and i.e. creating notification…
Sachin
  • 3,672
  • 9
  • 55
  • 96
11
votes
1 answer

Django admin + authentication system in microservice architecture

I have a large Django project which is basically a monolith containing apps. I need to break it to microservices. I have 2 questions that I couldn't find a clear answers to: Currently we're using Django admin extensively and I wonder if…
11
votes
2 answers

what's the best django profile / user settings application around?

I'm looking for a good django app that brings to me basic features like user profile editing password changing save settings / preferences specific to my app save authentication keys to external apps (twitter, rtm, facebook, ...) I know how to…
memyself
  • 11,907
  • 14
  • 61
  • 102
10
votes
1 answer

django specific settings app

I am working on a django app that needs a directory to download and store files. I want to keep my app reusable so I do not want to hard code the path of this directory. So I want to make this path a setting/a global variable that can be set…
Michael
  • 8,357
  • 20
  • 58
  • 86
10
votes
2 answers

Do I need to call syncdb before or after South migrate

I'm new to South so I am wondering if I ever need to call ./manage.py syncdb or doing ./manage.py schemamigration appname --auto ./manage.py migrate appname is sufficient in all cases South can handle on its own.
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
10
votes
3 answers

Separating Django installed apps between Development vs Production

I have 3 settings files: base.py (shared) development.py production.py base.py has: INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes' ... but I have some apps that I only want…
43Tesseracts
  • 4,617
  • 8
  • 48
  • 94
10
votes
1 answer

Why are "Models aren't loaded yet"?

I am trying to install django-registration-redux with a customUser. I have included this in my settings.py: AUTH_USER_MODEL = 'app.customUser' Registration Form is in a directory ../registration/forms.py: from __future__ import…
H C
  • 1,138
  • 4
  • 21
  • 39
10
votes
2 answers

RemovedInDjango19Warning: Model doesn't declare an explicit app_label

Have gone through Django 1.9 deprecation warnings app_label but answers couldn't fix my problem, so asking again. I have an app that is added to INSTALLED_APPS in settings. when ever I run manage.py runserver, I get this warning, [trimmed path to…
10
votes
1 answer

Jquery in Django: Which django apps should I look into?

I want to use some jquery in my forms and I was hoping to use some ready made solutions - there seem to be a lot of them... Which django apps would you recommend for this purpose? Which are most popular? EDIT #1: Hmmmm... I suppose I didn't put…
Monika Sulik
  • 16,498
  • 15
  • 50
  • 52
9
votes
4 answers

Django: Signal/Method called after "AppConfig.ready()"

I have an AppConfig.ready() implementation which depends on the readiness of an other application. Is there a signal or method (which I could implement) which gets called after all application ready() methods have been called? I know that django…
guettli
  • 25,042
  • 81
  • 346
  • 663
1
2
3
28 29