Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango-nonrel: Syntax to Reset an App
    primarykey
    data
    text
    <p>To reset my app, I ran this:</p> <pre><code>./manage.py reset node </code></pre> <p>It is giving me this error output:</p> <pre><code>WARNING:root:The rdbms API is not available because the MySQLdb library could not be loaded. Traceback (most recent call last): File "./manage.py", line 11, in &lt;module&gt; execute_manager(settings) File "/home/a/mywebsites/django/seperolinux/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/home/a/mywebsites/django/seperolinux/django/core/management/__init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/a/mywebsites/django/seperolinux/django/core/management/base.py", line 191, in run_from_argv self.execute(*args, **options.__dict__) File "/home/a/mywebsites/django/seperolinux/django/core/management/base.py", line 220, in execute output = self.handle(*args, **options) File "/home/a/mywebsites/django/seperolinux/django/core/management/base.py", line 286, in handle app_output = self.handle_app(app, **options) File "/home/a/mywebsites/django/seperolinux/django/core/management/commands/reset.py", line 35, in handle_app sql_list = sql_reset(app, self.style, connection) File "/home/a/mywebsites/django/seperolinux/django/core/management/sql.py", line 107, in sql_reset return sql_delete(app, style, connection) + sql_all(app, style, connection) File "/home/a/mywebsites/django/seperolinux/django/core/management/sql.py", line 66, in sql_delete table_names = connection.introspection.get_table_list(cursor) AttributeError: 'DatabaseIntrospection' object has no attribute 'get_table_list' </code></pre> <p>How do I reset a Model in Django-nonrel?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload