You need to fork the app and create a similar protect structure inside your
forked app, then you can start customizing.
Django Oscar isn't an easy way to start with Django
El jue., 9 de diciembre de 2021 8:46 p. m., Ryan Nowakowski <
r...@fattuba.com> escribió:
> Try running the sandbox applic
e primary key, you should use pk of an
existing record in the database.
Also you can print self.request.POST to see all the data that I has, that
is a dictionary so you can see they keyword you need and the data in brings.
Regards.
Julio Cojom.
El mié., 5 de enero de 2022 7:53 a. m., Rey On
where documentation
mention.
Last, run manage.py makemessages with the flags you need.
Remember, you're dealing with python not with Django as programming
language.
If you don't have idea of what I'm writing, start with a simpler project.
Regards
Julio Cojom
El mié., 5 de enero de 2022 3:
tive')
If you want to use delete, I've used before django-simple-history. the
package records all history for models and objects and let you query that
information.
Regards,
Julio Cojom.
El vie., 7 de enero de 2022 9:48 a. m., Feroz Ahmed
escribió:
> Hi, Pankaj
> thanks for t
I remember having a problem like that once, in your views print the hole
dictionary "print(request.POST)", you should see all the values of the
field you want as list, not just one.
Then instead of getlist try just get, request.POST.get('field_here')
Let me know how it goes
El lun., 17 de enero
Seem pretty clear, you are calling db user and db password instead of email
and email password,
*EMAIL_HOST_USER = os.environ.get('DB_USER')*
*EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')*
Regards,
Julio Cojom
El mar, 26 abr 2022 a las 23:38, 'Delvin Al
You can try with rpa framework, for rpa, is better if you use xpath
Regards
El El vie, 17 de jun. de 2022 a la(s) 11:10, Abhinandan K <
abhinan...@snakescript.com> escribió:
> is anybody know how to scrap all businesses from google maps and save into
> csv with selenium and whenever search t
elopment before so I learned
that a hard way
Regards,
Julio Cojom
El sáb, 9 jul 2022 a las 21:20, Ram () escribió:
> Hi,
>
> We are planning to launch our application in production once all the
> testing is completed after deployment to our development server. We are
> using J
Hi Ram,
Aditional to all the suggestions, please keep in mind django-filters as
they are important to filter data in your api requests
Regards,
Julio Cojom
El mié, 20 jul 2022 a las 20:37, Michael Thomas (<
michael.thomas.s...@gmail.com>) escribió:
> There's no reason at all tha
There are a couple of projects built in Django for this, for example
Django-Oscar or saleor(community version), the last one is a tech stack a
little bigger but really fast and customizable.
If you want to start one from scratch, be sure to check both projects as
they have good abstraction classes
I have a large project and forms.py per app is bigger than I thought with
3k+ lines in each file, I'm looking for options to make a good scalation
structure, does anyone have experience with this? What do you do to
organize your forms in your projects?
--
You received this message because you are
.readthedocs.io/en/latest/
Regards,
Julio Cojom
El jue, 22 sept 2022 a las 4:23, Matheus Bon ()
escribió:
> Hi!
>
> I'm lost in a question of my project, I see so many methods on the
> internet but none work for me (maybe I'm implementing it wrongly)
>
> But, I would like to
This shit again, STOP IT.
El mar, 27 sept 2022 a las 9:29, Alfredo Yong ()
escribió:
> Please, me too...
>
> +51995070400
>
> On Tue, Sep 27, 2022 at 9:43 AM Giovanni Silva wrote:
>
>> Please, add me too…
>>
>> +5531995321877
>>
>> Em 27 de set. de 2022, à(s) 02:27, Adetunde ADESUNBO ALAO <
>> a
When you change the status to Verified, you are only changing the object
instance in memory, to save it to the database, you need to call the method
save.
verification.save() at the end should make it work
El El mié, 2 de nov. de 2022 a la(s) 10:23, Aaryan R Soni <
aaryanrson...@gnu.ac.in> escrib
Is your computer an apple silicon mac?
El mar, 11 abr 2023 a las 14:21, Mesfin Haftu () escribió:
> Hello There,
>
> This is Mesfin, I am working on a project of deep learning to classify
> images. I design the model, train, fit, evaluate and predict with my model.
> After that I save the mo
I'm writting 2 models with ManyToMany Relations, first I make a model to
list all my requirements
class Requirements(models.Model):
requirement = models.CharField(max_length=150)
def __str__(self):
return self.requirement
So in this example my list of requirements will be:
- Personal ID
-
If you use sublime text, try this, right down corner, it says "Tab size" ->
Convert Indentation to Tabs.
[image: Sin título.png]
El jueves, 28 de febrero de 2019, 17:14:33 (UTC-6), Edvani Pascoal escribió:
>
> hey guys I'm beginner on django I never worked with this framework before
> and then
Django Is a web application, I guess if you create a shortcut of your
browser with the URL of your app, that will be fine. Even you can change
the icon to make a distinction between your app and the real browser.
If you want to those scripts run every n hours or minutes to maintain your
app feed
If it's development servers or localhost , allow DEBUG=True, that will help
you a lot every time that you found this issues.
Assuming that you use git, if you use localhost before push your changes,
then the shell where you run "manage.py runserver" will show you specific
data about your problem.
If you're using virtualenv, then u need to activate before running
manage.py, to activate, use workon .
Maybe you only installed Django in your virtualenv and not in your system.
Regards!
El mar., 9 abr. 2019 a las 13:20, sachin thakur (<
sachin.thakur9...@gmail.com>) escribió:
> Create your vi
Hi sir,
There is a library exclusive for admin, his name it's something like
select2 admin , search it, I used it a couple times and only requires that
you add it to your settings.py
Regards!
On Thu, Apr 18, 2019, 11:51 AM Jason Burke wrote:
> Greetings all,
>
> I'm working on a project, and I
I strongly recommend install some web server like mod_wsgi-express,
guinicorn, openlitespeed to serve files, even if its local.
Regards.
Julio C.
El mar., 7 may. 2019 a las 9:46, Idris Adegbite ()
escribió:
> Good day guys, Please can i run django on laptop without internet
> connection.
> if
Hi, I used a package exclusive for admin, it call django-select2-admin and
it's magic. Only register in installed apps and that's all.
Regards.
El mar., 14 de may. de 2019 11:12 p. m., Balaji Shetty <
balajishe...@gmail.com> escribió:
> Hi
>
> I need Cascading drop down list in Django Admin GUI.
contrib.contenttypes','django.contrib.sessions',
>> 'django.contrib.messages','django.contrib.staticfiles','newapp',
>> #My App Name]----*
>>
>>
>> *I downloaded PAckage *
>> * g
It must have a requirements.txt , so run pip install -r requirements.txt.
Next run all django stuff (manage.py makemigrations, manage.py migrate,
manage.py runserver)
if requirements.txt isnt in the git repo, you can do it running manage.py
runserver and watching every error it throws and install
Boolean field on notification model that change status when click or view
the notification , this perhaps need an asynchronous task with jQuery or
celery
Rewards
El vie., 29 de mayo de 2020 9:28 p. m., meera gangani <
meeragangan...@gmail.com> escribió:
> I Want to implement Mark all a read in n
Try '{0}-{1}'.format(var1, var2)
Check in the console in what line it's throwing the attribute error
Rewards
El vie., 29 de mayo de 2020 5:10 p. m., Ahmed Khairy <
ahmed.heshamel...@gmail.com> escribió:
> I was working on a comment section for post and was getting an
> AttributeError when I ret
Show your file please
El dom., 14 de junio de 2020 12:38 p. m., Deborah
escribió:
> good evening
> the tags that I use in the html file, appear on browsers when I launch the
> server, what to do ???
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django user
Based on the url of the browser, seems like python isn't interpreting the
HTML file. This url isn't friendly, django not shows ".html" when you
browse inside your app. Are you running with py manage.py runserver?
Why the port is 63342? Usualy the port is 8000 unless you explicit changed
it.
Try w
in your template, open a js block
{% block javascript %}
nginx + gunicorn.
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
El vie., 19 jun. 2020 a las 12:59, Giovanni Silva ()
escribió:
> Dears,
>
> How is the best way to deploy a Django App in the Ubuntu VPS?
> Can you get me a
What about using DRF with token login?
El jue., 25 jun. 2020 a las 13:26, Dave R () escribió:
> I keep running into this problem and started working on a custom
> solution... but before I spend hours on this, I want to confirm that such a
> package/solution doesn't already exist.
>
> I was work
How is your model and your serializer?
El sáb., 4 jul. 2020 a las 6:00, Ronaldo Mata ()
escribió:
> Thx for your answer. 😁
>
> but this brings me to the second point. If I do that I must to rewrite all
> method in my API Class Based Views to response with this format. I think
> that is not the be
This is a frontend job, I searched this a time ago and in the search, there
are some tutorials with JavaScript frameworks like angular or Vue.
https://medium.com/js-dojo/how-to-build-a-file-manager-storage-web-app-with-django-rest-framework-and-vue-js-e89a83318e9c
On Sun, Aug 2, 2020, 10:34 AM Vi
It is js error, show the script part. It seems like you referenced a
variable before declare it.
On Sun, Aug 9, 2020, 8:50 AM Yemin Sajid wrote:
> I think the error is from the frontend javascript code. Can u share
> snippets of that code?
>
> On Sun, Aug 9, 2020 at 8:30 AM Kovy Jacob wrote:
>
It depends, some people use virtualenvs, so you need to install gunicorn in
each project.
https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
this might help, just change dependencies install to fit your os.
In my case, I deploy
Readonly field and disbled field never send on form post.
You should workaround this, for example, with a css class.
.disabledfield{
pointer-events: none;
opacity: 0.4;
}
or enabling with js on send click.
Regards.
El mié., 23 sept. 2020 a las 13:20, coolguy ()
escribió:
> please sha
Hello
First, create a query.py , just for order.
[image: image.png]
and declare a function with the parameters you want to receive.
Then, in your views.py
[image: image.png]
you need to import connection from django.db
finally , you can iterate over the rows fetched with one for loop.
[imag
Pretty easy to be honest. The web page need an http response and it's give
none instead. :)
If you don't know about the code, maybe you should hire a developer or
learn by yourself.
El mar., 15 de junio de 2021 3:14 p. m., Ken Smith
escribió:
> There is the issue to solve that is the result of
cPanel it's a pain to deploy python applications, better change to a vps
with digitalocean or something similar.
El mié., 23 de junio de 2021 11:37 a. m., Franck Tchouanga <
ftchoua...@gmail.com> escribió:
> I see.
>
> On Wed, Jun 23, 2021, 11:38 AM Eugene TUYIZERE
> wrote:
>
>> Dear Franck,
>
Django framework uses urls to math the html files. This work with the same
syntax of static files, you would use {% url 'app:viewname' %} to render
any page with Django.
You should check the docs of urls to understand how it works and get this
done.
Regards
El jue., 24 de junio de 2021 9:00 a. m
I remember a python library called django-cron, it's stable in Linux
environments
El jue., 1 de julio de 2021 6:54 a. m., divya murugulla <
divyamurugu...@gmail.com> escribió:
> HI,
>
> I wanted to schedule a email every jan and aug 6 monthly basis without
> celery using settings.py. Can anyone h
For what I can see in the issue, you're passing 2 values to the url (id ,
topic)
Maybe the error its for the topic because of the value (/Subject/Django)
try to sanitize the value after store it in the database, because it try to
get the url example.com/3//Subject/Django where 3 its the id or pk a
Pythonanywhere, incluso con instancia de mysql
El vie., 9 de agosto de 2019 11:57 a. m., Gabriel Araya Garcia <
gabrielaraya2...@gmail.com> escribió:
> ¿Donde y como subir mi proyecto básico en calidad de demostracion?. Es muy
> basico, con apenas 60 registros, en Sqlite3. Necesito mostrar el est
Pensé en la BD pero cuando ejecuta manager.py eso debería de afectar la
base que tenga en settings. Sera que hay 2 proyectos y ejecutas sobre uno
pero necesitas los resultados en otro? Has revisado la tabla de usuarios en
la BD para ver si está creado el registro?
El dom., 13 de octubre de 2019 1:
I guess it will be in your views , if it's used in more than 1 def maybe
you can use a def who return your variable and use it in for loop to call
it many times.
El lun., 14 de octubre de 2019 10:27 a. m., Spiff
escribió:
> Hi, I'm reading up on how to properly output html. Let's say I have a r
46 matches
Mail list logo