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?













0















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.










share|improve this question
























  • 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















0















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.










share|improve this question
























  • 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













0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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












1 Answer
1






active

oldest

votes


















0














Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.






share|improve this answer

























    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
    );



    );













    draft saved

    draft discarded


















    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









    0














    Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.






    share|improve this answer





























      0














      Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.






      share|improve this answer



























        0












        0








        0







        Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.






        share|improve this answer















        Similar to Dan Hoerst response in the comments, adding "django-tinymce" to the requirements.txt, commit, and then re-deploy solved the problem.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 10 at 23:58


























        community wiki





        3 revs, 2 users 58%
        Fanchen Bao






























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Thal And Out Agency railway station See also References External links Navigation menuOfficial Web Site of Pakistan RailwaysArchivedOfficial Web Site of Pakistan Railwayseeexpanding ite

            Understanding generators in Python2019 Community Moderator ElectionGenerator function not working pythonFor loop not executing two timesGenerators - Printing generated valuesWhy can a python generator only be used once?What exactly do generators do?What does the “yield” keyword do?What does “list comprehension” mean? How does it work and how can I use it?sklearn Kfold acces single fold instead of for loopIs a generator the callable? Which is the generator?Apply Border To Range Of Cells Using OpenpyxlCalling an external command in PythonWhat are metaclasses in Python?What is the difference between @staticmethod and @classmethod?Finding the index of an item given a list containing it in PythonDifference between append vs. extend list methods in PythonHow can I safely create a nested directory in Python?Does Python have a ternary conditional operator?Understanding slice notationUnderstanding Python super() with __init__() methodsDoes Python have a string 'contains' substring method?

            How can I change the color of pagination dots of UIPageControl?How to change UIPageControl dotsIs there a way to change page indicator dots colorCustomize dot with image of UIPageControl at index 0 of UIPageControlNo visible @interface for 'NSObject<PageControlDelegate>' declares the selector 'pageControlPageDidChange:'How to change the color of pagination dots in UIPageControl with a different color per pagepagecontrol indicator custom image instead of DefaultChanging the colour of UIPageControl dots in MonoTouchpagecontrol selectable page visibility color?Alternative way to load ViewControllers on a UIPageControlHow to set only layer.border-color for UIpage control dots in swiftHow can I develop for iPhone using a Windows development machine?How to change the name of an iOS app?UITableView - change section header coloruipagecontrol indicator(dot)issueCustom UIPageControl dots color not changingchange the interspace between UIPageControl dotsHow to change Status Bar text color in iOSHow can I change image tintColor in iOS and WatchKitUIPageControl dots with larger space in between each dotsHow to change the color of pagination dots in UIPageControl with a different color per page