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

how to locate the template files of django-apps installed?

I am using Django Rest Framework in my project. I did pip install djangorestFramework. Currently the template that is rendered is default ones that is shipped with djangorestFramework. I want to look into the template code so that I can override and…
eagertoLearn
  • 9,772
  • 23
  • 80
  • 122
0
votes
1 answer

Django, apps list template tag in admin base.html

So I'm trying to create a template for the Django Admin. What I can't manage to show is a list(going to be a menu) with all the apps installed. Pretty much exactly the same as index.html of the django admin template. I found an article on how to…
manosim
  • 3,630
  • 12
  • 45
  • 68
0
votes
1 answer

Insert arbitrary content into textfield

I'm building a CMS and I want to be able to insert "stuff" in arbitrary locations in a document (CMS page). The "stuff" objects will have generic foreign keys and can be a table generated from a db entry, or it can be an uploaded image or something…
vorpyg
  • 2,505
  • 4
  • 25
  • 22
0
votes
1 answer

using dajaxice and editlive apps in django

So I am pretty new to Django and I am a little confused on how to install apps. I am trying to get the editlive app to work in Django. This requires dajaxice to also be installed. Both of the instructions for this are very similar, basically it says…
mingle
  • 580
  • 2
  • 6
  • 24
0
votes
1 answer

how does this model work in Django?

I found this code for a blog post app written using Django here: I am confused with what this snippet of code does: Please explain what the CommentManager class below do and how the parameters passed to it are assigned to some 'arbitrary keys'. The…
eagertoLearn
  • 9,772
  • 23
  • 80
  • 122
0
votes
1 answer

Django-postman - History in reply

I am using Django-postman version 3.1.0. When users are replying to received messages all of the previous message history is automatically entered into the reply text area. I would like to know if it is possible to disable this behaviour. My…
Lee
  • 5,816
  • 6
  • 45
  • 61
0
votes
1 answer

Import django pluggable apps from project subdirectory

I have some Django project sturcture: PROJECT --APPS ----Profile ----... --PLUGINS ----ENDLESS_PAGINATION ----DJANGO_SUBDOMAINS ----... And for example: in ENDLESS_PAGINATION models.py file is import: from endless_pagination import ... which can't…
user2721435
  • 151
  • 1
  • 12
0
votes
1 answer

Django-CMS: Apps with nested pages

is there the possibility to create an django app where the user can create pages and subpages. E.g. he creates a page SEO and a subpage Google SEO: SEO Google SEO Yahoo SEO I'm not talking about the default cms pages from Django and not about a…
Alexander Scholz
  • 2,100
  • 1
  • 20
  • 35
0
votes
1 answer

The true meaning of django project and individual apps in it

What really is the true meaning of django project and individual apps in it? I mean - AFAIK you cannot create a project and live entirely in that project you created, you have to create an app in that project to be able to actually do something in…
lmojzis
  • 551
  • 7
  • 17
0
votes
1 answer

When to create new apps in django

I've tried reading a few things before asking, but when should new apps be created in django? For instance, I have a website with a domain scanner which will then have registration/login/etc? Should functionalities like login and registration be (2)…
CodeTalk
  • 3,571
  • 16
  • 57
  • 92
0
votes
1 answer

How Do You Have a Django App to Frequently Monitor a Remote Database

I'm trying to build a django app that can monitor and interact with a remote database (to interact with the database in a basic way - just performing a look-up and only sometimes making a little change in the remote data), it also has to sometimes…
Ji Park
  • 507
  • 1
  • 6
  • 14
0
votes
1 answer

For a packaged app, how do you get the project name and path?

I have written a django app to store some data in a database, display, filter and export the data. I have written a few additional python routines to extract the source data (from DICOM files) and insert it into the database. I've placed these…
0
votes
1 answer

Custom settings.py for Django reusable apps

I have a reusable Django app and I'm importing it into another project. I want to be able to run the tests of that app which means I need my own settings.py file for just the tests. What is the accepted way of running those tests? I've noticed some…
user9903
0
votes
1 answer

Can I make a Project folder anywhere I want after using virtualenv and virtualenvwrapper?

After using mkvirtualenv, I get a folder. ~/virtualenvs/first_project But I was using another folder as the workspace for all my projects. Can I still use that folder? Could anyone also please give me a comprehensive roundup of steps to setup django…
Max
  • 59
  • 1
  • 9
0
votes
0 answers

Django MySQL OperationalError: 1044

I am trying to add the a app called 'login'. I was told by the documentation tutorial to use the command: python manage.py sql login However, I get the error: OperationalError: (1044, "Access denied for user 'classdummy'@'localhost' to…
Liondancer
  • 15,721
  • 51
  • 149
  • 255