Django community: RSS
This page, updated regularly, aggregates Django Q&A from the Django community.
-
Operand data type nvarchar is invalid for sum operator
I tried to sum the data from my database using below code. models.py class Income(models.Model): Total= models.CharField(max_length=512,null =True,blank=True) views.py : Total_income = Income.objects.filter(Q(title='Salary')| Q(title='Bonus')).aggregate(Sum('Total')) But I got this error when I try to run it. ('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Operand data type nvarchar is invalid for sum operator. (8117) (SQLExecDirectW); [42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]Statement(s) could not be prepared. (8180)') I'm new to Python and Django so I really appreciate your help on this. -
Custom user can't login
I have created a custom user model for 'dealers' and 'staff'. After creating a 'dealer' model I cannot login. I have tried both my 'accounts/login' form as well as the /admin page. When I try to login it says `Please enter the correct email and password for a staff account. Note that both fields may be case-sensitive. accounts/models.py from django.db import models from django.contrib.auth.models import ( AbstractBaseUser, BaseUserManager, PermissionsMixin, ) # Create your models here. class UserManager(BaseUserManager): def create_user(self, email, first_name, last_name, company, phone, is_active=True, is_admin=False, is_staff=False, is_dealer=False, password=None): if not email: raise ValueError("Users must have an email address") if not password: raise ValueError("Users must have a password") if not first_name: raise ValueError("Users must have a first name") if not last_name: raise ValueError("Users must have a last name") if not company: raise ValueError("Users must have a company") if not phone: raise ValueError("Users must have a phone number") user_obj = self.model( email = self.normalize_email(email) ) user_obj.set_password(password) user_obj.first_name = first_name user_obj.last_name = last_name user_obj.company = company user_obj.phone = phone user_obj.admin = is_admin user_obj.staff = is_staff user_obj.dealer = is_dealer user_obj.active = is_active user_obj.save(using=self._db) return user_obj def create_superuser(self, email, first_name, last_name, company, phone, password=None): user = self.create_user( email, first_name, last_name, company, phone, password=password, is_admin=True, … -
Django admin refresh table data without reloading full page
I am customizing admin interface. I want to refresh table data instead of refreshing full page. I am able to add the refresh button but don't know how to achieve refresh table data. This is what I have got so far. Thanks in advance. -
Unable to receive form data from Frontend using React/Django
I have been working on Pinterest-like app where users can upload pins along with a picture. After crafting "FileView", which is the API that uploads a received file onto S3 and provide the Frontend with the resulting URL for the picture, I have tested with Postman successfully. Below are my views.py code snippet and the screenshot of Postman request. views.py class FileView(View): s3_client = boto3.client( 's3', aws_access_key_id=ACCESS_KEY, aws_secret_access_key=SECRET_ACCESS_KEY ) @login_required def post(self, request, **kwargs): user = kwargs['user'] user_id = kwargs['user_id'] name = request.POST.get('title') paragraph1 = request.POST.get('text', None) board = request.POST.get('board', 1) board = Board.objects.get(id=board) print(request.FILES) if request.FILES == None: return JsonResponse({"message": "REQUEST FILES IS EMPTY"}, status=406) file = request.FILES['filename'] self.s3_client.upload_fileobj( file, "pinterrorist", file.name, ExtraArgs={ "ContentType": file.content_type } ) image_url = S3URL+file.name image_url = image_url.replace(" ", "+") new_pin = Pin.objects.create( image_url = image_url, name = name, paragraph1 = paragraph1, board = board ) new_pin.user.add(user) new_pin = model_to_dict(new_pin, fields=["image_url", "name", "paragraph1", "board"]) return JsonResponse({"new_pin": new_pin}) However, when I try to work it out with the frontend, the request does not go through the views.py. It goes through the decorator, which means there is nothing wrong with the header's authorization token. I searched online to find ways to fix this but one of … -
read only attribute is safe in django forms?
Setting read only attrs for django forms is safe?. In my django projects I do something like this: def someUpdateView(request): form = EmployeeForm(instance=Employeem.objects.get(pk=1)) return render... class EmployeeForm(forms.ModelForm) declaring here read only attrs field by widgets dict in Meta class or in init method (i.e. pk fields or other fields like email for keeping inmutable). But what if an user opens web browser inspector mode and edits html field value or deletes read only attribute? during form.save() django will save the new value even it was read only (from html) and if this happens, there is a way to handle that?. -
Why Does My Deploy Directory Keep Changing
Sorry if this is a really dumb question, I am just starting out with AWS. I am using ElasticBeanstalk to deploy a Django app. The first time I deployed the code the path to the code was /var/app/staging later I noticed it had changed to /var/app/current. It seems to changes back and forth after some but not all deploys. How can I either programmatically determine the path or make it be the same path every time? As you can imagine, this situation makes running manage commands impossible if your don't know that path. -
Populate Highcharts Pie Chart with JSON Data for Django Application
The HighCharts pie chart displays an empty chart after loading.enter image description here Here is my views.py @login_required def update_appscan(request, proj_value='proj', ver_value=v.get_version()): graph_data = c.get_appscan_graph(proj_value, ver_value) return render(request, 'jinja2/appscan/appscan.html', 'dataset' : graph_data) In graph_data, I have my data something like this. {'category': ['High', 'Medium', 'Low'], 'issues': [0, 4, 8]} I want to categorize the data as High, Medium, Low in Pie chart with their values respectively. and in appscan.html <script> Highcharts.chart('container', { chart: { plotBackgroundColor: null, plotBorderWidth: null, plotShadow: false, type: 'pie' }, title: { text: 'Appscan Vulnerabilities, 2020' }, tooltip: { pointFormat: '{series.name}: <b>{point.percentage:.1f}%</b>' }, accessibility: { point: { valueSuffix: '%' } }, plotOptions: { pie: { allowPointSelect: true, cursor: 'pointer', dataLabels: { enabled: true }, showInLegend: true } }, series: [{ name: 'counts', colorByPoint: true, data: [ {% for item in dataset %} { name: {{ item.category }}, y: {{ item.issues }} }, {% endfor %} ] }] }); </script> Kindly let me know what I should change in order to populate the pie chart. Thanks in Advance. -
Heroku yields Application Error when I navigate to django admin site
I get an Application Error from Heroku every time I put in the admin credentials and try to navigate to the admin site on a successfully deployed app. The Django admin site works locally and even worked on Heroku a few times. I am guessing that somehow links are broken or the admin urls aren't set up properly. Everything on the website otherwise works as intended (including login options and things that have restricted access to logged-in users). The app called inv_check and the website is the canonical mysite. The only error I can find on Heroku is: at=error code=H13 desc="Connection closed without response" method=GET path="/admin/"... status=503 Urls for mysite are: urlpatterns = [ path(r'inv_check/', include('inv_check.urls')), path(r'admin/', admin.site.urls), path(r'', include('inv_check.urls')), ] Urls for inv_check are: urlpatterns = [ path('', include('django.contrib.auth.urls')), #accounts/ path(r'', views.index, name='index'), ... ] and I have a menu option to navigate to the admin site: <a href="{% url 'admin:index' %}">Admin site</a> I realize that this may seem like beating the dead horse but I assure you that the superuser does exist and that my procfile is web: gunicorn mysite.wsgi --log-file -. Moreover, local and production sites use the same postgres database hosted on heroku so any local … -
Custom Api function not working during Postman testing
Working on API's so I created a custom function to create and delete a ratings, when running tests on postman to check it's functionality does not seem to work ERROR MESSAGE: User matching query does not exist could this be an error on my code or I am not using postman properly? Below is the code of the function @action(detail=True, methods=['POST']) def rate_movie(self, request, pk=None): if 'stars' in request.data: movie = Movie.objects.get(id=pk) user = User.objects.get(id=1) stars = request.data['stars'] try: rating = Rating.objects.get(user=user.id, movie=movie.id) rating.stars = stars rating.save() serializer = RatingSerializer response = {'message': 'Rating Updated', 'results': serializer.data} return Response(response, status=HTTP_200_OK) except: rating = Rating.objects.create(user=user, movie=movie, stars=stars) serializer = RatingSerializer response = {'message': 'Rating Created', 'results': serializer.data} return Response(response, status=HTTP_200_OK) else: response = {'message':'Stars not selected for rating'} return Response(response, status=HTTP_400_bad_request) Here is also a picture of sample request that I was trying when I wanted to test my function and also the error at which I am getting. -
uwsgi error with ModuleNotFoundError 'xxx.context_processors' use customized context_processors
enter code hereI put my project on server and use uwsgi attempt to start. like.. uwsgi --http :8000 --module myDjangoProject.wsgi it can run, but when i come to my site,append an error.... Internal Server Error: / Traceback (most recent call last): File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner response = get_response(request) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/core/handlers/base.py", line 126, in _get_response response = self.process_exception_by_middleware(e, request) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/core/handlers/base.py", line 124, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "./apps/news/views.py", line 27, in index File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/shortcuts.py", line 36, in render content = loader.render_to_string(template_name, context, request, using=using) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/template/loader.py", line 62, in render_to_string return template.render(context, request) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/template/backends/django.py", line 61, in render return self.template.render(context) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/template/base.py", line 169, in render with context.bind_template(self): File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__ return next(self.gen) File "/var/www/myDjangoProject/lib/python3.6/site-packages/debug_toolbar/panels/templates/panel.py", line 41, in _request_context_bind_template processors = template.engine.template_context_processors + self._processors File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/utils/functional.py", line 37, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/template/engine.py", line 85, in template_context_processors return tuple(import_string(path) for path in context_processors) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/template/engine.py", line 85, in <genexpr> return tuple(import_string(path) for path in context_processors) File "/var/www/myDjangoProject/lib/python3.6/site-packages/django/utils/module_loading.py", line 17, in import_string module = import_module(module_path) File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in … -
Could i messed up my setting.py or my code itself?
it was working until I made a base.html for the header and the footer. I reversed everything I did to the entire project and rerun the server but it still shows this error. Page not found (404) Request Method: GET Request URL: http://localhost:8000/ Using the URLconf defined in DIALYSIS.urls, Django tried these URL patterns, in this order: admin/ Home.html [name='Home'] contact.html [name='contact'] The empty path didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page. -
Proper way to seed data in production django
I have a set of tables that are basically just some definition tables for example: Schedule_table -------- 1|Daily 2|Weekly 3|Monthly Run_type_table -------- 1|Concurrent 2|Singular 3|Multi-prong These are static tables, that should never be edited. I was looking for an approach on how I can ensure these tables are "perfect". Basically when running some command, it cleans up the table to match the seed file exactly. If I remove data from the seed file, it deletes it, if I add a definition, it adds to the database on rerun, etc.. I was looking at this - https://docs.djangoproject.com/en/3.0/howto/initial-data/ but this seems to be an approach for test data. I am looking for something that I can use in production. -
many-to-many relationship of wagtail page model to itself?
So i got a PlantDetailPage model with "companion" field among others (yes plants can be companions), in which I should be able to select other PlantDetailPages. I got the thing to show up, create new plants in inline (yes, a menu in the menu in the menu...), but there's few issues: 1) It just won't select them (no action on clicking "select plantdetailpage") 2) "companions" menu button is now shown on the left (like a snippet that it became?) - which I'd like to avoid. 3) I don't know how to limit the companion inline selector to only selecting and not creating more PlantDetailPages (so that there's no recursion of windows) ? Here's the model in models.py : class PlantCompanion(ClusterableModel): companion = models.ForeignKey( "vegependium.PlantDetailPage", on_delete=models.SET_NULL, related_name="plants", null=True ) plant = ParentalKey( "vegependium.PlantDetailPage", on_delete=models.SET_NULL, related_name="companions", null=True, ) panels = [InstanceSelectorPanel("companion")] class PlantDetailPage(Page): genus_species = models.CharField(max_length=100, blank=False, null=False) # soo many other fields content_panels = Page.content_panels + [ #soo many other panels FieldPanel("alternative_names") ], heading=_("names") ), MultiFieldPanel(heading=_("Companions"), children=[InlinePanel("companions")]), #even more panels ] def get_context(self, request): context = super().get_context(request) context["plant"] = self # needed? # You always can access the page object via "page" or "self" in the template! return context and in … -
Extract month and year then Count and get Average with Grouping by using Django ORM
I want to extract year and month. Then I want to group by year, month and district then count rows and calculate average price for each group. Actually the SQL statement below does what I want to do. So, how can I do this with Django ORM? SELECT district, month, year, COUNT(ilan_no) , TO_CHAR(AVG(price), '9999999999') as avg_price FROM ( SELECT ilan_no, district, price, EXTRACT (MONTH FROM add_date) as month, EXTRACT (YEAR FROM add_date) as year FROM ilan) as foo GROUP BY district, month, year ORDER BY year, month, district models.py: class Ilan(models.Model): ilan_no = models.IntegerField(unique=True, blank=True, null=True) url = models.CharField(unique=True, max_length=255, blank=True, null=True) add_date= models.DateField() origin = models.CharField(max_length=100, blank=True, null=True) city = models.CharField(max_length=20, blank=True, null=True) district = models.CharField(max_length=30, blank=True, null=True) price = models.IntegerField(blank=True, null=True) serializers.py: class IlanSerializer(serializers.ModelSerializer): class Meta: model = Ilan fields = ['ilan_no', 'add_date', 'district', 'price'] I have tried queryset below but value() method didn't work with Rest-Framework serializers. view.py: class IlcePriceAndSizeDistributionListView(ListAPIView): queryset = Ilan.objects.annotate(year=ExtractYear('add_date')).annotate(month=ExtractMonth('add_date')).values('district', 'year', 'month', 'ilan_no', 'add_date', 'price').annotate( ortalama_m2=Avg('m2_net')).annotate(ortalama=Avg('price')).annotate(count=Count('ilan_no')).order_by('year', 'month') serializer_class = IlanSerializer -
Django - Saving many-to-many within Celery shared task
I'm creating a new object within a Celery shared task. This will save objects to my database, but will not save the django-taggit tags field (a many-to-many field). # models class Something(models.Model): ... tags = TaggableManager() # this is the many-to-many field The form I'm using for new objects will save tags in string format, separated by commas. 'example, tag, here'. I've replicated that when I pass it to the tags field in my tasks.py. # tasks.py @shared_task def save_something(list): for l in list: Something.objects.create( ... tags = l['tags'] ) When I'm using forms.py I'm able to call form.save_m2m() to save the many-to-many relationship; however, I'm struggling to find an equivalent to use in Celery tasks. Any help would be greatly appreciated! -
display uploaded items to a grid on django(html and css)
I have a grid that has to show the uploaded images in 3 columns, first time I tried this I realized that just the first uploaded image is being shown so I added a forloop counter which dint work also. What should I do to show this uploaded images on a grid. views.py def profile(request, username=None): profile, created = Profile.objects.get_or_create(user=request.user) if username: post_owner = get_object_or_404(User, username=username) user_posts = Post.objects.filter(user_id=post_owner) else: post_owner = request.user user_posts = Post.objects.filter(user=request.user) args1 = { 'post_owner': post_owner, 'user_posts': user_posts, } return render(request, 'profile.html', args1) models.py class Post(models.Model): images = models.FileField(upload_to='clips', null=True, blank=True) user = models.ForeignKey(User, related_name='imageuser', on_delete=models.CASCADE, default='username') def __str__(self): return str(self.text) html {% for Post in user_posts %} <div class="grid-wrapper"> {% if forloop.counter|divisibleby:3 %} <div class="grid-item"> {% if Post.video %} <video width="400" style="border-radius: 2px;"> <source src='{{ Post.video.url }}' type='video/mp4'> </video> {% endif %} </div> {% endif %} </div> {% endfor %} css .grid-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-gap: 1rem; grid-auto-flow: row; } .grid-item { background: red; display: flex; justify-content: center; align-items: center; } -
pip installing in usr/lib/python3.6/site-packages instead of virtualenv on ubuntu server
I'm having a problem when installing packages on my virtualenv.It all started when I upgraded my pip to the latest version. I tried to revert my pip version to where I find it stable. When I try to install, for example, django-tables2, it says: Requirement already satisfied: django-tables2 in /usr/lib/python3.6/site-packages (2.3.1) Requirement already satisfied: Django>=1.11 in /usr/local/lib/python3.6/dist-packages (from django-tables2) (2.2.4) Requirement already satisfied: pytz in /usr/local/lib/python3.6/dist-packages (from Django>=1.11->django-tables2) (2019.2) Requirement already satisfied: sqlparse in /usr/local/lib/python3.6/dist-packages (from Django>=1.11->django-tables2) (0.3.0) WARNING: You are using pip version 19.3.1; however, version 20.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. But when I check my folder in my virtualenv, it doesn't show there. I tried some commands like which pip and which pip3 and it says this: (unidaenv) root@UnidaWebApplication:/home/unidaweb/unidaproject# which pip /home/unidaweb/unidaproject/unidaenv/bin/pip (unidaenv) root@UnidaWebApplication:/home/unidaweb/unidaproject# which pip3 /home/unidaweb/unidaproject/unidaenv/bin/pip3 (unidaenv) root@UnidaWebApplication:/home/unidaweb/unidaproject# I also tried pip list but I can't find the package that I installed to my virtualenv. I'm getting a bad gateway error when I try to add it on my settings.py, I don't really know how to fix this but when I'm in the version of pip that I know was stable running my project, I don't get this … -
Django Social Auth with Vue.js redirect_uri_mis
I'm trying to get social auth working with Vue.js and Django. I have the following setup for Vue: main.js Vue.use(VueAuthenticate, { providers: { salesforce: { name: "salesforce", url: "http://localhost:8000/api/login/social/token_user/salesforce-oauth2", authorizationEndpoint: "https://login.salesforce.com/services/oauth2/authorize", clientId: "clientId", redirectUri: "http://localhost:8080/profile", requiredUrlParams: ["display", "scope"], scope: ["email"], scopeDelimiter: ",", display: "popup", oauthType: "2.0", popupOptions: { width: 580, height: 400 }, }, }, }); If I change the redirect Uri in Vue, I get a redirect URI mismatch in the popup window. However, with this configuration, I get the following error in the debug logs of Django: {'error': 'redirect_uri_mismatch', 'error_description': 'redirect_uri must match configuration'} Any suggestions on how to resolve this? I have added multiple URIs to the callback URL in the connected app but still have not been able to solve this. -
Foreign keys vs Composite keys in SQL
I have a table just like this: USER_RELATIONSHIP ---------------------- user_id follows_id 1 2 1 3 2 1 3 1 Both user_id and follows_id are Foreign keys that point to a User table. The USER_RELATIONSHIP table is quite large and I am frequently checking to see if a user relationship exists or not (eg. user A follows user B). Given that these Foreign keys are indexed, is SQL able to find a relationship (given a user_id and a follows_id) in O(1)? If not, is it more performant to condense the two fields above into an indexed Composite key that hashes a user_id and a follows_id and having the USER_RELATIONSHIP table like this? USER_RELATIONSHIP ---------------------- composite_key 298437920 219873423 918204329 902348293 -
Django Reason for getting TemplateSyntaxError?
I have created a new app called newsletters. I can access the pages when I write their location directly from local host by writing http://127.0.0.1:8000/newsletters/signup/ but when I try to add their url in the nav bar I am getting an error: TemplateSyntaxError at / Invalid block tag on line 40: 'url'newsletters:subscribe''. Did you forget to register or load this tag? Here are the main project urls: urlpatterns = [ path('admin/', admin.site.urls), path('newsletters/', include('newsletters.urls', namespace='newsletters')), ] Here are newsletters app urls: app_name = 'newsletters' urlpatterns = [ path('signup/', newsletter_signup, name="subscribe"), path('unsubscribe/', newsletter_unsubscribe, name='unsubscribe'), ] here are the nav bar template: <div class="dropdown-divider"></div> <a class="dropdown-item" href=" {% url'newsletters:subscribe' %}">Newsletters</a> <div class="dropdown-divider"></div> How should I fix it and what am I have I done wrong to avoid it? -
Django: cannot unpack non-iterable int obj
I'm a new programmer attempting to put in a "submit comment" page in my project using a generic CreateView. The page displays properly when it first loads, but after clicking the form's "submit" button, I get a "TypeError at /blog/blog/4/create - cannot unpack non-iterable int object." Here is the generic view in question: class BlogCommentCreate(LoginRequiredMixin, CreateView): model = Comment template_name = 'blog/comment_create_form.html' fields = ['content',] def get_context_data(self, **kwargs): context = super(BlogCommentCreate, self).get_context_data(**kwargs) context['blogpost'] = get_object_or_404(BlogPost, pk = self.kwargs['pk']) return context def form_valid(self, form): form.instance.comment_author = self.request.user form.instance.blogpost = get_object_or_404(BlogPost, self.kwargs['pk']) return super(BlogCommentCreate, self).form_valid(form) def get_success_url(self): return reverse('blogpost-detail', kwargs={'pk': self.kwargs['pk'],}) Here are the relevant url patterns. "comment_create" is the create page that is giving me issues with form submission, and "blogpost-detail" is where I'm trying to redirect to: urlpatterns = [ path('blog/<int:pk>', views.BlogPostDetailView.as_view(), name='blogpost-detail'), path('blog/<int:pk>/create', views.BlogCommentCreate.as_view(), name='comment_create') ] And finally, here is the comment model: class Comment(models.Model): date_created = models.DateField(blank=False, default = date.today) content = models.TextField(max_length=200) comment_author = models.ForeignKey(User, on_delete=models.SET_NULL, null=True) blogpost = models.ForeignKey('BlogPost', on_delete=models.CASCADE) def __str__(self): return self.content Things I have tried: 1. Renaming parameters in my get_object_or_404 call that might overlap with built-in django keywords (as suggested in another thread here) 2. Renaming model fields and playing with capitalization … -
Multiple models with similar fields Django
Say I have 2 models: User Customer They both have the following SHARED fields: First name Last name Pin code Id They also have a shared save() method: def save(self, *args, **kwargs): if not self.pk: id = secrets.token_urlsafe(8) while User.objects.filter(id=id).count() != 0: id = secrets.token_urlsafe(8) self.id = id super(User, self).save(*args, **kwargs) How could I create a Base model that they can extend so that I don't need to define all of these things twice? Thanks!! -
What is the best way to download files from a server in Django?
I want to be able to download files from the server. I'm creating a Django text to speech app where the user will have the option to download the mp3 version of the text file. What is the best way to download mp3 files from the server in Django? -
Auth_Password_Validators syntax error - why am I receiving this error?
I have a model with standardised settings file, however when I run the debug server this returns with: Auth_Password_Validators syntax error Image I have checked that there are no grammatical errors or missing [] or missing {}. Code Please could you let me know how to resolve? -
How to correct virtualenv command output
I am learning to use virtual environments like and I realize that by using the use the virtualenv command: virtualenv env_dj_cuatro my virtual environment is created but at the same time it returns the following information at the end of its creation: diego@computer:~/Documentos/django$ virtualenv env_dj_cuatro created virtual environment CPython3.7.2.final.0-64 in 694ms creator CPython3Posix(dest=/home/diego/Documentos/django/env_dj_cuatro, clear=False, global=False) seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/home/diego/.local/share/virtualenv/seed-app-data/v1.0.1) activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator diego@computer:~/Documentos/django$ I understand that it is as a result of what has been done but I do not understand why it is shown since when reviewing the guide tutorials like this at no time does this information output occur How could I do to remove this information output? Thanks