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

            Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

            2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived

            Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme