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

error when trying to connect to twitter with django social auth

ImportError at /complete/twitter/ No module named social.pipeline i had this error when i was trying to connect twitter to my project this is the full traceback any body has any idea how to solve it Environment: Request Method: GET Request URL:…
0
votes
1 answer

error when trying to use social auth to register with twitter

I had this error when I tried to make the registration with twitter with social auth app: TypeError at /login/twitter/ issubclass() arg 1 must be a class Does anybody have any idea what causes this? I copied all the mandatory things in the…
0
votes
1 answer

django sync db to get two apps in two databases

I'm not sure how it works but I need two different models/apps in separated databases. So if I try syncdb --database db1 will get all installed apps into db1. So question is how to get just one app in another db? Thanks
Goran
  • 6,644
  • 11
  • 34
  • 54
0
votes
2 answers

Django app incorporation process

Can some one please highlight what should be the process of incorporating reusable django app in a project without using setup.py. Can we simply move app into project directory and start using it?
Software Enthusiastic
  • 25,147
  • 16
  • 58
  • 68
0
votes
2 answers

Ruby Gem or Django App - Is there any of these for Java EE?

In Ruby on Rails we have Gems, that you can reuse to be part of your software. We have the same in Django, they call it "apps". There are "modules" in Drupal too. For example, let's say that you are developing web software to control a proccess in…
mariomol
  • 667
  • 1
  • 7
  • 15
0
votes
1 answer

Django app for auto delete file

I have a problem on deleting my files in the media. If I delete my files for example in the admin, it works but the file remains on my media folder. I wanted to delete it too. Is there an app that automatically delete old file and deletes files on…
user2015666
0
votes
1 answer

Django App Data in Flatpages

I have a Django app called blogengine which does exactly what the name implies. I can't seem to get data from blogengine (posts) to display in templates when they're called by flatpages. I'm new to Django but I assume this is a urls.py issue. My…
frankV
  • 5,353
  • 8
  • 33
  • 46
0
votes
1 answer

Customize Installed Apps on Django

in my server I have a lot of apps installed like, facebook_connect, userena, guardian and so on... For example, I realized that if I customize the: django-userena / userena / templates / userena / emails / activation_email_message.txt {% load i18n…
0
votes
1 answer

django smartselect loading jquery twice

I am having trouble because of django's app, that is smart select, it tries to load jquery by itself. I am already loading jquery by myself in head and after that I am loading JQuery UI related stuff. But as smartselect come in body it also load…
Hafiz
  • 4,187
  • 12
  • 58
  • 111
0
votes
1 answer

django ratings along with one to one field

models.py class Restaurant(models.Model): #fields here class Food(models.Model): rating = RatingField(range=5, weight=5,can_change_vote = True,allow_delete = True,allow_anonymous = True) restaurant =…
Abhimanyu
  • 591
  • 1
  • 11
  • 22
0
votes
1 answer

Django can't load app

I'm using django 1.4, after i created the project using django-admin, I create an app, add it to settings.py in INSTALLED_APPS but then when I do manage.py runserver I get Error: no module named myapp Does anyone know why?
0
votes
1 answer

Django: Error when trying to add a new app

I am trying to follow the steps here: http://dev.svetlyak.ru/optional-email-in-django-comments-en/ to make the "Email Address" field in the Django comments app optional. Specifically, I created a file called 'mycomments.py' with the following…
GChorn
  • 1,267
  • 1
  • 19
  • 36
0
votes
1 answer

How to check if a specific Django App is installed using Ant?

I would like to create an ant conditional target that checks if a django app is installed such as south. If It is installed, nothing to do but If not, run pip install south. How could I do it using Ant?
dextervip
  • 4,999
  • 16
  • 65
  • 93
0
votes
1 answer

Django admin - how to store references to models in model field?

I'm making some big changes in Django Admin and need to make an application to group various models to groups and then show it in menu. I have a function to generate list of all available admin models including permissions. So I make 1 model to add…
tunarob
  • 2,768
  • 4
  • 31
  • 48
0
votes
1 answer

better architecture in django is different apps. or single App for different components?

I have intended to have an app. where I want to have different things having relations with each other and want to know that whether I should have them as just different models or as differnt apps. Obviously if this is student, teacher in LMS then…
Hafiz
  • 4,187
  • 12
  • 58
  • 111