Django: ImportError: No module named tinymceCalling a function of a module by using its name (a string)Does Django scale?Django settings.py not being detectedApache Django mod_wsig - no modules named urls errorImport Error starting Celery workerDjango 1.8.3 urlsHow to link my css, js and image file link in django'zinnia_loop_template' received too many positional argumentsDjango can't download file via adminAttributeError: 'NoneType' object has no attribute 'split' Getting Error unknowingly on CMD. How to resolve it?
Why was the shrinking from 8″ made only to 5.25″ and not smaller (4″ or less)?
Why didn't Miles's spider sense work before?
Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?
Is it possible to create a QR code using text?
Is "remove commented out code" correct English?
Can I run a new neutral wire to repair a broken circuit?
Are there any examples of a variable being normally distributed that is *not* due to the Central Limit Theorem?
All in one piece, we mend holes in your socks
Little known, relatively unlikely, but scientifically plausible, apocalyptic (or near apocalyptic) events
What is a romance in Latin?
How do I handle a potential work/personal life conflict as the manager of one of my friends?
Detention in 1997
Cursor Replacement for Newbies
Can compressed videos be decoded back to their uncompresed original format?
How dangerous is XSS?
Avoiding direct proof while writing proof by induction
How to show a landlord what we have in savings?
Reverse dictionary where values are lists
How do I gain back my faith in my PhD degree?
Do scales need to be in alphabetical order?
What is the most common color to indicate the input-field is disabled?
ssTTsSTtRrriinInnnnNNNIiinngg
iPad being using in wall mount battery swollen
How do conventional missiles fly?
Django: ImportError: No module named tinymce
Calling a function of a module by using its name (a string)Does Django scale?Django settings.py not being detectedApache Django mod_wsig - no modules named urls errorImport Error starting Celery workerDjango 1.8.3 urlsHow to link my css, js and image file link in django'zinnia_loop_template' received too many positional argumentsDjango can't download file via adminAttributeError: 'NoneType' object has no attribute 'split' Getting Error unknowingly on CMD. How to resolve it?
When executes the command: Heroku run python manage.py syncdb
I get the message: ImportError: No module named tinymce
I use Django 1.6.2, TinyMCE: django-tinymce==1.5.2
That's what I did to install the TinyMCE:
I installed: pip install django-tinymce
urls.py
from django.conf.urls import patterns, include, url
django.contrib import from admin
admin.autodiscover()
urlpatterns = patterns ('',
url(r'^', include ('app.urls')),
url(r'^tinymce /', include('tinymce.urls')),
url (r'^admin /', include(admin.site.urls)),
)
settings.py
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app',
'tinymce',
)
STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
STATICFILES_DIRS = (
os.path.join (base_dir, 'static')
)
TEMPLATE_DIRS = (
join(base_dir, 'templates'),
)
TINYMCE_JS_URL = os.path.join(STATIC_URL, 'tinymce/js/tinymce/tinymce.min.js')
TINYMCE_DEFAULT_CONFIG =
'plugins' :'table, spellchecker, paste, searchreplace"
'theme' : "advanced",
'cleanup_on_startup ':True ,
'custom_undo_redo_levels':10 ,
and performed collectstatic
command.
I could not import the file models.py module tinymce:
from tinymce.models import HTMLField
Please for help.
python django heroku tinymce
|
show 1 more comment
When executes the command: Heroku run python manage.py syncdb
I get the message: ImportError: No module named tinymce
I use Django 1.6.2, TinyMCE: django-tinymce==1.5.2
That's what I did to install the TinyMCE:
I installed: pip install django-tinymce
urls.py
from django.conf.urls import patterns, include, url
django.contrib import from admin
admin.autodiscover()
urlpatterns = patterns ('',
url(r'^', include ('app.urls')),
url(r'^tinymce /', include('tinymce.urls')),
url (r'^admin /', include(admin.site.urls)),
)
settings.py
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app',
'tinymce',
)
STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
STATICFILES_DIRS = (
os.path.join (base_dir, 'static')
)
TEMPLATE_DIRS = (
join(base_dir, 'templates'),
)
TINYMCE_JS_URL = os.path.join(STATIC_URL, 'tinymce/js/tinymce/tinymce.min.js')
TINYMCE_DEFAULT_CONFIG =
'plugins' :'table, spellchecker, paste, searchreplace"
'theme' : "advanced",
'cleanup_on_startup ':True ,
'custom_undo_redo_levels':10 ,
and performed collectstatic
command.
I could not import the file models.py module tinymce:
from tinymce.models import HTMLField
Please for help.
python django heroku tinymce
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
My "pip freeze":Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
1
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23
|
show 1 more comment
When executes the command: Heroku run python manage.py syncdb
I get the message: ImportError: No module named tinymce
I use Django 1.6.2, TinyMCE: django-tinymce==1.5.2
That's what I did to install the TinyMCE:
I installed: pip install django-tinymce
urls.py
from django.conf.urls import patterns, include, url
django.contrib import from admin
admin.autodiscover()
urlpatterns = patterns ('',
url(r'^', include ('app.urls')),
url(r'^tinymce /', include('tinymce.urls')),
url (r'^admin /', include(admin.site.urls)),
)
settings.py
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app',
'tinymce',
)
STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
STATICFILES_DIRS = (
os.path.join (base_dir, 'static')
)
TEMPLATE_DIRS = (
join(base_dir, 'templates'),
)
TINYMCE_JS_URL = os.path.join(STATIC_URL, 'tinymce/js/tinymce/tinymce.min.js')
TINYMCE_DEFAULT_CONFIG =
'plugins' :'table, spellchecker, paste, searchreplace"
'theme' : "advanced",
'cleanup_on_startup ':True ,
'custom_undo_redo_levels':10 ,
and performed collectstatic
command.
I could not import the file models.py module tinymce:
from tinymce.models import HTMLField
Please for help.
python django heroku tinymce
When executes the command: Heroku run python manage.py syncdb
I get the message: ImportError: No module named tinymce
I use Django 1.6.2, TinyMCE: django-tinymce==1.5.2
That's what I did to install the TinyMCE:
I installed: pip install django-tinymce
urls.py
from django.conf.urls import patterns, include, url
django.contrib import from admin
admin.autodiscover()
urlpatterns = patterns ('',
url(r'^', include ('app.urls')),
url(r'^tinymce /', include('tinymce.urls')),
url (r'^admin /', include(admin.site.urls)),
)
settings.py
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'app',
'tinymce',
)
STATIC_URL = '/static/'
STATIC_ROOT = 'staticfiles'
STATICFILES_DIRS = (
os.path.join (base_dir, 'static')
)
TEMPLATE_DIRS = (
join(base_dir, 'templates'),
)
TINYMCE_JS_URL = os.path.join(STATIC_URL, 'tinymce/js/tinymce/tinymce.min.js')
TINYMCE_DEFAULT_CONFIG =
'plugins' :'table, spellchecker, paste, searchreplace"
'theme' : "advanced",
'cleanup_on_startup ':True ,
'custom_undo_redo_levels':10 ,
and performed collectstatic
command.
I could not import the file models.py module tinymce:
from tinymce.models import HTMLField
Please for help.
python django heroku tinymce
python django heroku tinymce
edited Mar 10 '14 at 23:01
Mariusz
asked Mar 10 '14 at 22:52
MariuszMariusz
80411
80411
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
My "pip freeze":Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
1
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23
|
show 1 more comment
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
My "pip freeze":Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
1
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
My "pip freeze":
Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
My "pip freeze":
Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
1
1
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23
|
show 1 more comment
1 Answer
1
active
oldest
votes
Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f22313069%2fdjango-importerror-no-module-named-tinymce%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.
add a comment |
Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.
add a comment |
Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.
Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.
edited Mar 10 at 23:58
community wiki
3 revs, 2 users 58%
Fanchen Bao
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f22313069%2fdjango-importerror-no-module-named-tinymce%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you sure tinymce was correctly installed? You can check all installed apps by 'pip freeze'.
– Łukasz Staniszewski
Mar 10 '14 at 23:31
My "pip freeze":
Django==1.6.2 South==0.8.4 argparse==1.2.1 dj-database-url==0.2.2 dj-static==0.0.5 django-tinymce==1.5.2 django-toolbelt==0.0.1 gunicorn==18.0 psycopg2==2.5.2 pystache==0.5.3 static==1.0.2 wsgiref==0.1.2
– Mariusz
Mar 10 '14 at 23:34
Hi, what about just importing tinymce. Does that work as well?
– biobirdman
Mar 11 '14 at 0:02
That does not work import, and after sending on Heroku gets "Internal server error".
– Mariusz
Mar 11 '14 at 0:18
1
This doesn't work locally or does not work on Heroku? If Heroku, did you add django-tinymce to your requirements.txt and re-deploy?
– Dan Hoerst
Mar 11 '14 at 0:23