Django community: RSS
This page, updated regularly, aggregates Django Q&A from the Django community.
-
Django runserver on BASEHREF
I have such bash script #!/bin/bash BASEHREF="0.0.0.0:8000/python-api" exec ./manage.py runserver "$BASEHREF" --settings api.settings.local But after launch I got such error CommandError: "0.0.0.0:8000/python-api/" is not a valid port number or address:port pair. How can I runserver with relative path? -
Django: How to iterate over form fields choices without knowing the fields name?
I have a form whose fields are created in its __init__method: class Form(forms.Form): def __init__(self, modelInstance, *args, **kwargs): super(Form, self).__init__(*args, **kwargs) # create fields based of modelInstance data (because it might change) self.fields[modelInstance.name] = models.ChoiceField(choices=SomeChoices, widget=forms.RadioSelect()) Therefore i can not know in advance how the field may be named. Now how can I iterate over the field choices without knowing its name? What I'd like: {% for field in form %} <p>sometext</p> {% for value, text in field.NAME.choices %} <input type="radio" name="{{ field.name }}" value="{{value}}" id="id_{{ field.name }}_{{forloop.counter0}}"> <label>{{text}}</label> </div> {% endfor %} {% endfor %} I know field.NAME only returns the actual field name and does not give me access to its choices. But how else can I do this? Any help is greatly appreciated! -
After inherited from AbstractUser, Django admin can not change user's permissions any more
I change django user model by inherited from AbstractUser, codes like the following. But I can not modify user permissions and change the group which user belong to any more in Django admin site. When I logon to admin as super user, go to the user page. The user'permissions can not be changed. Can anyone help? from django.db import models from django.contrib.auth.models import AbstractUser from django.contrib import admin class UserProfile(AbstractUser): mobile = models.CharField(max_length=20, null=True, blank=True) avatar = models.CharField(max_length=100, null=True, blank=True) admin.site.register(UserProfile) #settings.py add this AUTH_USER_MODEL = 'users.UserProfile' -
Django. Hash password in models.py
I have a trigger in my database to create a password from another column and update it in the current database. Then I insert this password to another table. The problem is my project doesn't need a registration form as a new page. So only admin can add new users. The question sounds like: is there an opportunity to create a hash password in models? Or from another hand how to create password fill in models.py? models.py class Student(models.Model): studentIndex = models.IntegerField() studentName = models.CharField(max_length=50) studentSurname = models.CharField(max_length=50, default='') studentPhoneNumber = models.CharField(max_length=12, default='+48') studentPesel = models.CharField(max_length=11, default='') studentStudyMode = models.CharField(max_length=12, default='') studentFaculty = models.CharField(max_length=30, default='') studentSemester = models.IntegerField(default='') studentAddress = models.CharField(max_length=255, default='') studentMotherName = models.CharField(max_length=100, default='') studentBirth = models.DateField(help_text='year-month-day') studentEmail = models.EmailField(max_length=255, default='') studentImage = models.ImageField(default='default.jpg', upload_to='profile_pics') studentPassword = models.CharField(max_length=100, default='12345678', help_text='Do not modify this field. Password will be generated automatically') studentDateJoined = models.DateTimeField(default=datetime.datetime.now()) def __str__(self): return f'{self.studentIndex} - {self.studentName} {self.studentSurname}' Trigger in user_student table CREATE TRIGGER add_new_student_with_correct_password after insert on users_student begin update users_student set studentPassword = strftime('%Y', studentBirth) || substr(strftime('%m', studentBirth), 2, 1) || strftime('%d', studentBirth) || substr(studentMotherName, 1, 1) || lower(substr(studentName, 1, 1)) where studentPassword = '12345678'; insert into auth_user(password, last_login, is_superuser, username, first_name, email, is_staff, is_active, … -
I'm trying to apply celery to Class based view(apis) in django. How can I do this?
Is it a correct way to apply celery to class based views? I think APIs are sync tasks... And, if it is, how can I apply celery to class based Views? I can’t apply just tagging @app.task above functions inside class. I failed to apply making tasks.py with functions and calling them inside functions in class.(it throws not JSON serializable error..) Please can someone give me the keryword to search with? -
Migrating error "OperationalError at /admin/accounts/userstripe/ no such table: accounts_userstripe"
Hi I'm trying to develop a website for an online store and in my accounts' models.py, I have two models. While table for one model was created successfully, table for my UserStripe model wasn't created and it says: OperationalError at /admin/accounts/userstripe/ no such table: accounts_userstripe What should I do ? Can anyone please help me out? My models.py: from django.db import models from django.contrib.auth.models import User from django.conf import settings import stripe from localflavor.us.us_states import US_STATES stripe.api_key = settings.STRIPE_SECRET_KEY class UserStripe(models.Model): user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete= models.CASCADE) stripe_id = models.CharField(max_length=120) def __unicode__(self): return str(self.stripe_id) class UserAddress(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete= models.CASCADE) address = models.CharField(max_length=120) address2 = models.CharField(max_length=120) city = models.CharField(max_length=120) state = models.CharField(max_length=120, choices=US_STATES) country = models.CharField(max_length=120) zipcode = models.CharField(max_length=25) phone = models.CharField(max_length=120) shipping = models.BooleanField(default=True) billing = models.BooleanField(default=True) timestamp = models.DateTimeField(auto_now_add=True, auto_now=False) updated = models.DateTimeField(auto_now_add=False, auto_now=True) def __unicode__(self): return str(self.user.username) My signals.py: import stripe from django.conf import settings from django.contrib.auth.signals import user_logged_in from .models import UserStripe stripe.api_key = settings.STRIPE_SECRET_KEY def get_or_create_stripe(sender, user, *args, **kwargs): try: user.userstripe.stripe_id except UserStripe.DoesNotExist: customer = stripe.Customer.create( email = str(user.email), ) new_user_stripe = UserStripe.objects.create( user = user, stripe_id = customer.id, ) except: pass user_logged_in.connect(get_or_create_stripe) My apps.py: from django.apps import AppConfig class AccountsConfig(AppConfig): name = 'accounts' def … -
django.contrib.gis.geos.error.GEOSException: Could not parse version info string "3.7.1-CAPI-1.11.1 27a5e771"
Background of the problem: I'm working on a legacy project built on python 2 and Django 1.9. So a few days back I have set up this project and then my debian 10 OS got some problem I had to reinstall the OS but my project was saved and I am using the same env which was created before. I had this error before but I had no idea how it got fixed on its own now it's coming up again. So the research and based on the recent workout the only lead I got buy some StackOverflow fellow have is According to old docs for 1.10 (1.9 docs aren't available). Django 1.9 only supported GEOS 3.4 and 3 docs.djangoproject.com/en/1.10/ref/contrib/gis/install/geolibs. You'll have to install the older version of GEOS or upgrade Django Now the link provided has few lib to be installed, I have done that but still getting this error when I run python manage.py migrate I'm still getting this error: Traceback (most recent call last): File "manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/home/rehman/projects/comparedjs/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line utility.execute() File "/home/rehman/projects/comparedjs/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 327, in execute django.setup() File "/home/rehman/projects/comparedjs/local/lib/python2.7/site-packages/django/__init__.py", line 18, in setup apps.populate(settings.INSTALLED_APPS) File "/home/rehman/projects/comparedjs/local/lib/python2.7/site-packages/django/apps/registry.py", line 115, in … -
How to get started with DJ-stripe?
For what I can see Dj-stripe seems to be a very active project. However, the documentation is lacking so many details, tutorials, etc., that for me it has been easier to re-create the wheel than using the library. How do I get started? How do I, for example, save credit card details to a customer? How to use Connect? I am sorry I am so not specific. Nevertheless, there are so many open questions is impossible to list them all. -
Putting break points or line breaks in the comment section (Python - Django)
Update This is now how my site is rending - It doesn't appear as if the br is doing anything. <article class="media content-section"> <!-- comments --> <h2>{{ comments.count }} Comments</h2> {% for comment in comments %} <div class="media-body "> <a class="mr-2" href="#">{{ comment.name }}</a> <small class="text-muted">{{ comment.created_on|date:"F d, Y" }}</small> </div> <h3 class="article-title">{{ post.title }}</h3> <p class="article-content">{{ comment.body }}</p> <br><br><br> <p>test2 test2</p> <br><br><br> <p>test2 test2</p> <br><br><br> {% endfor %} </article> Original Post This is how my site is rendering - I tried putting <br> and </br> in a few places and I have not seen any impact. Does anyone have any ideas? <article class="media content-section"> <!-- comments --> <h3>{{ comments.count }} Comments</h3> <br><br/> {% for comment in comments %} <div class="media-body "> <a class="mr-2" href="#">{{ comment.name }}</a> <small class="text-muted">{{ comment.created_on|date:"F d, Y" }}</small> </div> <br><br/> <h2 class="article-title">{{ post.title }}</h2> <p class="article-content">{{ comment.body }}</p> <br><br/> {% endfor %} </article> -
Django asking for default value during migration
I've got the following models: title = models.CharField(max_length=100) description = models.TextField() date_posted = models.DateTimeField(default=timezone.now) author = models.ForeignKey(User, on_delete=models.CASCADE) def __str__(self): return self.title def get_absolute_url(self): return reverse('post-detail', kwargs={'pk': self.pk}) class Ingredient(models.Model): ingredients_recipe = models.ForeignKey(Post, on_delete=models.CASCADE) type = models.CharField(max_length=50) quantity = models.IntegerField() measurement = models.CharField(max_length=50) class MethodStep(models.Model): methods_recipe = models.ForeignKey(Post, on_delete=models.CASCADE, null=True) step = models.TextField() When i try to run makemigrations, i get no errors for the Ingredient class, but on the MethodStep class i get an error saying: You are trying to add a non-nullable field 'methods_recipe' to methodstep without a default; we can't do that (the database needs something to populate existing rows). Can someone help me? I'm not sure whats different about each of these classes which would mean the MethodStep has an error but Ingredient doesn't. -
Why I can not transfer "context" from endpoint Django app to HTML page?
I've got the problem with transfering {context} from Django endpoint to HTML. I added to the project second application (first was "tasks" and everything work good, second is "notes" and the problem is with this one). I don't know why but information from context are not transfer to HTML. Python: notes/views.py @login_required(login_url='/user_login/') def notes_list(request, *args, **kwargs): if request.method == "POST": name = request.POST.get("name") description = request.POST.get("description") new_note = Notes.objects.create( name=name, description=description, user=request.user ) new_note.save() return redirect("/notes_list/") notes = Notes.objects.all().filter(user=request.user) print("notes", notes) context = { notes: "notes", } return render(request, 'notes_list.html', context) HTML: templates/notes_list.html List: {%for note in notes%} <b>Title:</b> <textarea class="form-control" rows="1" cols="1" name='name' >{{note.name}}</textarea> <b>Note:</b> <textarea class="form-control" rows="3" cols="1" name='description' >{{note.description}}</textarea> {%endfor%} When I go to http://127.0.0.1:8000/notes_list/ I see just "List:" and empty page (without notes list). Model db is correct - print("notes", notes) print all rows in console so there is everything OK. This is settings.py file: TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ], }, }, ] -
Django - extract filtered data excel
I have a django-filter (OrderFilter) to display a filtered table,next step is to export this table to excel. The export is working but I have only the header ... Can you check my code and tell me where is the problem Views.py def Order(request): filter= OrderFilter(request.GET, queryset=Order.objects.all()) orders= filter.qs.order_by('-Date') """ Don't work Category_query = request.GET.get('Category') qs = Order.objects.filter(Category= Category_query) """ if request.GET.get('Export') == 'Export': response = HttpResponse(content_type='application/ms-excel') response['Content-Disposition'] = 'attachment; filename="data.xlsx"' wb = xlwt.Workbook(encoding='utf-8') ws = wb.add_sheet('Data') row_num = 0 font_style = xlwt.XFStyle() font_style.font.bold = True columns = ['Date', 'Category', 'Item'] for col_num in range(len(columns)): ws.write(row_num, col_num, columns[col_num], font_style) font_style = xlwt.XFStyle() rows=qs.values_list('Date', 'Category', 'Item') for row, rowdata in enumerate(rows): row_num += 1 for col, val in enumerate(rowdata): if isinstance(val,datetime.date): val = val.strftime('%d/%m/%Y') ws.write(row_num, col, val, font_style) wb.save(response) return response return render(request, 'template.html',{'orders':orders,'filter': filter}) template.html <form method="get"> {{filter.form}} <button class="btn btn-primary" type="submit">Search</button> </form> <form method="GET" > <button class="btn btn-warning" type="submit" value="Export" name="Export"> Export</button> </form> -
How i can create multi form like TCS form for student?
How i can create a multi form like first personal information then education and more, every page having save,submit and exit button after save go to the next form and at the end submit button to submit all information ? Using Django Python. -
Weasyprint cant load images when rendering html string
I am working on weasyprint library with python, scenario is i wrote a simple function which first renders html template to html_string with dynamic data and a logo then i am converting that html_string to pdf but the issue is when i am converting the html_string to pdf it doesn't show the image(logo), i went through different solution in which they solved the issue through request.build_absolute_uri() but i don't have request parameter because my function is not a django view, can anyone guide me how can i render the html_template with logo def generatepdf(data): html = render_to_string('template.html', {"test": data}) filename = data['version'] + ".pdf" try: # pdfkit.from_string(html.content.decode('utf-8'), filename, options=options) HTML(string=html).write_pdf(filename) return filename except Exception as e: print(e.__str__()) return False -
Wht is missing in this python django model? What is wrong?
Hello, I got an error when I try to migrate in my django model. It looks like something is missing there, like 'to' but what this 'to' mean?: class Planificare_concedii(BaseModel): class Meta: verbose_name = _('planificare concedii') verbose_name_plural = _('planificare concedii') persoana = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('persoana') ) magazin = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('magazinul') ) marca = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('marca') ) an = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('anul') ) data_inceput = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('data inceput') ) data_sfarsit = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('data sfarsit') ) tip_concediu = models.ForeignKey( on_delete=models.CASCADE, null=False, blank=False, verbose_name=_('tip concediu') ) This is the error that I got and I don't know exactly what is missing there or what is wrong... TypeError: __init__() missing 1 required positional argument: 'to' -
{ "detail": "Invalid signature." } in JWT using postman
models.py from django.contrib.auth import get_user_model # from accounts.models import User User = get_user_model() class Friend(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) # who sent the request friend = models.ForeignKey(User, on_delete=models.CASCADE, related_name='friends') # who will receive the request # sender = models.CharField(max_length=20, default='requested') status = models.CharField(max_length=20, default='requested') created_at = models.DateTimeField(default=now) serializers.py class UserfSerializer(serializers.ModelSerializer): class Meta: model = Friend fields = "__all__" views.py class FindFriendsListView(generics.ListAPIView, APIView): # queryset = Friend.objects.all() # serializer_class = UserDetailSerializer serializer_class = UserfSerializer permission_classes = [IsAuthenticatedOrReadOnly] authentication_classes =[TokenAuthentication,JSONWebTokenAuthentication] def get_queryset(self): current_user_friends = self.request.user.friends.values('id') sent_request = list(Friend.objects.filter(user=self.request.user).values_list('friend_id', flat=True)) print(sent_request) users = User.objects.exclude(id__in=current_user_friends).exclude(id__in=sent_request).exclude(id=self.request.user.id) return users urls.py url('^f/$', views.FindFriendsListView.as_view()), but when i tried to trigger this particular url { "detail": "Invalid signature." } im getting this error it's an AUthorized GET Request but i dont understand what exactly the issue is -
Multiple django apps in wamp with custom domain
Please help i have struck with this I want to deploy django apps in wamp with two separate domains but unable to do, both domains routing to same django app Eg: abc.com and xyz.com both redirecting to abc.com Any how both are same code but i want deploy as one for production and one for testing -
Django: Calculate with "models.TimeField"
Good day and a happy easter-weekdend, in Django I'm trying calculate inside my "models.py" with the amounts of multiple TimeField. For example: class Times(models.Model): ... time_from = model.TimeField() time_to = model.TimeField() time_break = model.TimeField(default='00:00:00') time_all = ... ... Let's say my times look like... time_from: 08:00:00 time_to: 14:30:00 time_break: 00:30:00 ... I want to achieve the time of "06:00:00" inside my variable "time_all" Does anyone have an idea? Thanks! -
Django REST, append new field from values in a list
In a view, I get the result of an image classifier as a dictionary containing the name of an animal as key and the probability of it being the correct animal as value. {'dog': 0.9, 'wolf': 0.1} From here I send a Response containing all the animals of the dictionary that are also in the Animal Model. [ { 'common_name': 'dog', 'scientific_name' : 'Canis lupus familiaris', }, ] I would like to add the probability value for each occurrence contained in the dictionary : [ { 'common_name': 'dog', 'scientific_name' : 'Canis lupus familiaris', 'probability' : 0.9, }, ] What would be the best strategy for that? Here I am so far: Views.py: class AnimalListCreateAPIView(APIView): def get(self,request): classifier_result={'dog': 0.9, 'wolf': 0.1} list_animals=list(classifier_result.keys()) animals = Animal.objects.filter(common_name__in=list_animals) serializer = AnimalSerializer(animals, many=True) return Response(serializer.data) Serializers.py: class AnimalSerializer(serializers.ModelSerializer): class Meta: model= Animal fields= [' common_name ',' scientific_name '] Models.py class Animal(models.Model): common_name = models.CharField(max_length=50) scientific_name = models.CharField(max_length=50) def __str__(self): return self. common_name -
Verifying a Google ID Token in Django
I have a React Native Android app which uses Google Sign-In to get the users profile and email information and produces an ID token (using https://github.com/react-native-community/google-signin). The sign in works and I am displaying the users name, email, photo etc on the app. I am then trying to send the ID token to a Django + DRF backend so that it can be validated and a relevant user account created and/or logged in. I am following the instructions here: https://developers.google.com/identity/sign-in/web/backend-auth Here is my code for the endpoint. For now I have just been copying the ID token produced by the app and sending it to the backend via Postman. class GoogleView(APIView): def post(self, request): token = {'idToken': request.data.get('idToken')} print(token) try: idinfo = id_token.verify_oauth2_token(token, requests.Request(), MY_APP_CLIENT_ID) print(idinfo) if idinfo['iss'] not in ['accounts.google.com', 'https://accounts.google.com']: raise ValueError('Wrong issuer.') return Response(idinfo) except ValueError: # Invalid token content = {'message': 'Invalid token'} return Response(content) When I send the POST request, the first print statement runs confirming that the token was received correctly. However the second print statement never runs and I always get the 'Invalid token' response. So, I believe verify_oauth2_token is failing somehow but it doesn't give me anymore information. I have never used … -
setup domain for django web server
Say I have the domain mydomain.com and I want www.mydomain.com to display my Django site I have looked at the django docs but the answers they provide are confusing what DNS records do I need to set to allow this? and are there any changes that have to be made to the config note: I'm using ipv4 and am running ubuntu -
Djngo Formset: ['ManagementForm data is missing or has been tampered with']
I tried to implement inline forms using Django's formsets. To explain what I've tried to do is, I've tried to take multiple orders for a particular customer. I'm sharing the code for the same. views.py def create_customer_order(request, pk): OrderFormSet = inlineformset_factory(Customer, Order, fields=('product', 'status')) customer = Customer.objects.get(id=pk) if request.method == 'GET': formset = OrderFormSet(instance=customer) context={'customer': customer, 'formset': formset} return render(request, 'customer_order_form.html', context=context) elif request.method == 'POST': formset = OrderFormSet(request.POST, instance=customer) if formset.is_valid(): formset.save() return redirect('/') and my customer_order_form.html is, {% extends 'main.html' %} {% load static %} {% block content %} <h3>Orders for {{ customer.name }}</h3> <br> <form method="POST" action="."> {% csrf_token %} {{ formset.management_form }} {% for form in formset %} {{ form }} <hr> {% endfor %} <input type="submit" name="Submit"> </form> {% endblock %} But when I'm making a POST request, i.e. to save the multiple forms (in the formset), I'm getting the following error. Traceback (most recent call last): File "C:\Users\Bagga\Documents\Django\Projects\crm\venv\lib\site-packages\django\core\handlers\exception.py", line 34, in inner response = get_response(request) File "C:\Users\Bagga\Documents\Django\Projects\crm\venv\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response response = self.process_exception_by_middleware(e, request) File "C:\Users\Bagga\Documents\Django\Projects\crm\venv\lib\site-packages\django\core\handlers\base.py", line 113, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "C:\Users\Bagga\Documents\Django\Projects\crm\accounts\views.py", line 65, in create_customer_order if formset.is_valid(): File "C:\Users\Bagga\Documents\Django\Projects\crm\venv\lib\site-packages\django\forms\formsets.py", line 308, in is_valid self.errors File "C:\Users\Bagga\Documents\Django\Projects\crm\venv\lib\site-packages\django\forms\formsets.py", line … -
Django Saving Calculated Value to Model
:) I'm a Django beginner and I'd like to ask for some help from you beautiful people. Here's what I'm trying to accomplish: I have a model - shown below -that I would like to contain a score for each symbol. class Stock_Score(models.Model): Symbol = models.CharField(max_length=20, null=True) Score = models.FloatField(null=True) To calculate that score, I'd like to use a second model which contains a list of stocks and a value called Yrs for each symbol: class Stock_Data(models.Model): Symbol = models.CharField(max_length=20, null=True) Yrs = models.FloatField(null=True) So what I was thinking was to import the Stock_Data model in my views.py, loop through the Symbols, check a simple if/else and then save the result to my first model under the "Score" field. Something like this: data = Stock_Data.objects.all() for i in data: if i.Yrs > 10: Score = 1 else: Score = 0 Score.save() Apologies for this garbage code, but I'd love some ideas about how I would be able to accomplish this :) Thanks in advance. -
Django not loading images from css file
Good Morning I have my HTML file wich links to the css and it is working fine <link rel="stylesheet" href="{% static '/Website/css/bootstrap.min.css' %}" /> <link rel="stylesheet" href="{% static '/Website/css/style.css' %}" /> <link rel="stylesheet" href="{% static '/Website/css/ionicons.min.css' %}" /> <link rel="stylesheet" href="{% static '/Website/css/font-awesome.min.css' %}" />e here Then I have several images in the HTML file which are loading fine <link rel="shortcut icon" type="image/png" href="{% static '/Website/images/fav.png' %}"/> One div element id <div id="lp-register"> obviously links to above style.css selector as per below #lp-register{ background: linear-gradient(to right, rgba(0,0,0, 0.7) , rgba(0,0,0, 0)), url('../images/test.png') fixed no-repeat; background-size: cover; background-position: center; position: absolute; top: 0; width: 100%; min-height: 100vh; } the images are in the static folder structured as this static - images - test.png and the setting.py has the correct static file definition STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static') ] When I load the HTML page that particular image is not being loaded, and no error I see in the Django server, furthermore if I inspect the element I see that url('../images/test.png') remain with the old settings linear-gradient(to right, rgba(0,0,0, 0.7) , rgba(0,0,0, 0.7)), url("http://placehold.it/1920x1280") fixed no-repeat and does not change no matter what. In addition to that if I … -
User dashboard on django?
I will explain my final degree project. I want to make a web app that have a public area (front web enterprise), admin dashboard (using jet adming or argon admin panel) and user dashboard. The thing is that... I want to make this enterprise web app and need a user web or dashboard. Django got a public area and admin, but no user. How could make a user interface that uses jet admin template? or simply how could make a user dashboard? This is a test project for my degree but dont know if i can do this on django Thanks a lot of!