Re: E-comm live project

2024-03-21 Thread Deepak kumar
I am interested of django project or any type of project please contact me
+91-7054633323

On Thu, 21 Mar, 2024, 7:07 pm Deepak kumar,  wrote:

> I am also interested django project
>
> On Thu, 21 Mar, 2024, 7:03 pm Vijaya lakshmi, 
> wrote:
>
>> HeyI'm interested in django projects.. please add my number 8123839384
>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHZKxqpnrwF5by3RDF5ncTAsH_ypRBa%2BTXGhJ_oGpcG%3Di5EpaQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHZKxqpnrwF5by3RDF5ncTAsH_ypRBa%2BTXGhJ_oGpcG%3Di5EpaQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADJxt9h5yg-GexsOHADf8jxkMYaMATwYeWLaNyz_1yEnud%3D4Sg%40mail.gmail.com.


Re: E-comm live project

2024-03-21 Thread Deepak kumar
I am also interested django project

On Thu, 21 Mar, 2024, 7:03 pm Vijaya lakshmi,  wrote:

> HeyI'm interested in django projects.. please add my number 8123839384
>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAHZKxqpnrwF5by3RDF5ncTAsH_ypRBa%2BTXGhJ_oGpcG%3Di5EpaQ%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADJxt9jyutH1L0hEG1FJkMrq0cRyw5uMYnz0acBCatY3NCYuJQ%40mail.gmail.com.


Re: Django UpdateView and Createview

2018-12-09 Thread Deepak Kumar
On Sunday, December 9, 2018 at 6:21:55 AM UTC+5:30, Ryan Nowakowski wrote:
> Take a look at 
> https://docs.djangoproject.com/en/2.1/topics/class-based-views/generic-editing/
> 
> 
> On December 7, 2018 7:09:25 AM CST, Rupam Hazra  wrote:
> 
> Hi,
> 
> 
> I have working in a TaskManagement Sytem where i have project module and 
> technology module.
> 
> 
> class ProjectMaster(models.Model):
> name=models.CharField(max_length=255,blank=True,null=True)
> description=models.CharField(max_length=255,blank=True,null=True)
> is_agreement_sent=models.BooleanField(default=False)
> is_invoice_create=models.BooleanField(default=False)
> is_invoice_sent=models.BooleanField(default=False)
> is_paid=models.BooleanField(default=False)
> status=models.BooleanField(default=True)
> is_deleted=models.BooleanField(default=False)
> created_at=models.DateTimeField(auto_now_add=True)
> created_by = models.ForeignKey(User, 
> on_delete=models.CASCADE,related_name='createdUser',blank=True,null=True)
> updated_at=models.DateTimeField(auto_now_add=True)
> updated_by=models.ForeignKey(User, on_delete=models.CASCADE, 
> related_name='UpdUser',blank=True,null=True)
> #technology_master = models.ForeignKey(TechnologyMaster, 
> on_delete=models.CASCADE, related_name='technologies', )
> 
> def __str__(self):
> return str(self.name)
> class TechnologyMaster(models.Model):
> #projectmaster = models.ForeignKey(ProjectMaster,on_delete=models.CASCADE)
> name=models.CharField(max_length=255,blank=True,null=True)
> status = models.BooleanField(default=True)
> is_deleted = models.BooleanField(default=False)
> created_at = models.DateTimeField(auto_now_add=True)
> created_by = models.ForeignKey(User, on_delete=models.CASCADE,blank=True, 
> null=True,related_name='created_by')
> updated_at = models.DateTimeField(auto_now_add=True)
> updated_by = models.ForeignKey(User, on_delete=models.CASCADE,blank=True, 
> null=True,related_name='updated_by')
> def __str__(self):
> return str(self.id)+'-'+ self.nameHere one functionality is one 
> project has multiple technologies so i have made one mapping table belowclass 
> ProjectTechnologyMapping(models.Model):
> project_master = models.ForeignKey(ProjectMaster, 
> on_delete=models.CASCADE, related_name='projects')
> technology_master = models.ForeignKey(TechnologyMaster, 
> on_delete=models.CASCADE, related_name='technologies')
> status = models.BooleanField(default=True)
> is_deleted = models.BooleanField(default=False)
> created_at = models.DateTimeField(auto_now_add=True)
> created_by = models.ForeignKey(User, 
> on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_created_user')
> updated_at = models.DateTimeField(auto_now_add=True)
> updated_by = models.ForeignKey(User, 
> on_delete=models.CASCADE,blank=True,null=True,related_name='pro_tech_updated_user')
> def __str__(self):
> return str(self.id)So, my question is how add and update using django 
> createview,updateview (generic view) using templates.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0be82da-dca5-4594-9f22-e0c3323adc3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: I put 3 more fields on database models

2018-10-07 Thread Deepak Kumar jha
After adding fields in model you have to do 
1:python manage.py makemigrations (app_name)
2: Python manage.py migrate

Sent from my Windows 10 phone

From: Bleron Uka
Sent: 07 October 2018 03:33 AM
To: Django users
Subject: I put 3 more fields on database models

Hi, 
My database has data there and i add 3 more inputs and i am having this error ?!
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9d3c91cd-7568-417e-98eb-f38325a38120%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5bb9a4c9.1c69fb81.42d94.e9b4%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.


Re: mysqlclient is already installed but it will give an error,please help

2018-09-09 Thread Deepak Kumar jha
Thanks buddy

On Wed, Sep 5, 2018 at 10:10 PM Everett White  wrote:

> Hey yay
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/5af47051-dea8-4069-afc0-3cc192fd5219%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFeJbFv7UKQcLuDA8iUveCqVRJcMaft_7S36wyiBys%3D6rQfY0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Deepak Kumar jha
Yes, i am using mysqlclient 1.3.13

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f2f1e170-ae0a-4a4d-b83b-34a5fb2770e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


mysqlclient is already installed but it will give an error,please help

2018-09-04 Thread Deepak Kumar jha
deepak@deepak-HP-Pavilion-x360-Convertible:~/Desktop/mini_project/tutor$ 
python manage.py runserver
Unhandled exception in thread started by .wrapper at 0x7f1f1d2e5b70>
Traceback (most recent call last):
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/utils.py", line 
110, in load_backend
return import_module('%s.base' % backend_name)
  File "/home/deepak/anaconda3/lib/python3.6/importlib/__init__.py", line 
126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 994, in _gcd_import
  File "", line 971, in _find_and_load
  File "", line 941, in _find_and_load_unlocked
  File "", line 219, in 
_call_with_frames_removed
  File "", line 994, in _gcd_import
  File "", line 971, in _find_and_load
  File "", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django.db.backends.mysql'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/utils/autoreload.py", 
line 225, in wrapper
fn(*args, **kwargs)
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/core/management/commands/runserver.py",
 
line 109, in inner_run
autoreload.raise_last_exception()
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/utils/autoreload.py", 
line 248, in raise_last_exception
raise _exception[1]
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/core/management/__init__.py",
 
line 337, in execute
autoreload.check_errors(django.setup)()
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/utils/autoreload.py", 
line 225, in wrapper
fn(*args, **kwargs)
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/__init__.py", line 
24, in setup
apps.populate(settings.INSTALLED_APPS)
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/apps/registry.py", 
line 112, in populate
app_config.import_models()
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/apps/config.py", 
line 198, in import_models
self.models_module = import_module(models_module_name)
  File "/home/deepak/anaconda3/lib/python3.6/importlib/__init__.py", line 
126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 994, in _gcd_import
  File "", line 971, in _find_and_load
  File "", line 955, in _find_and_load_unlocked
  File "", line 665, in _load_unlocked
  File "", line 678, in exec_module
  File "", line 219, in 
_call_with_frames_removed
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/contrib/auth/models.py",
 
line 2, in 
from django.contrib.auth.base_user import AbstractBaseUser, 
BaseUserManager
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/contrib/auth/base_user.py",
 
line 47, in 
class AbstractBaseUser(models.Model):
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/models/base.py", 
line 101, in __new__
new_class.add_to_class('_meta', Options(meta, app_label))
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/models/base.py", 
line 305, in add_to_class
value.contribute_to_class(cls, name)
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/models/options.py", 
line 203, in contribute_to_class
self.db_table = truncate_name(self.db_table, 
connection.ops.max_name_length())
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/__init__.py", 
line 33, in __getattr__
return getattr(connections[DEFAULT_DB_ALIAS], item)
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/utils.py", line 
202, in __getitem__
backend = load_backend(db['ENGINE'])
  File 
"/home/deepak/.local/lib/python3.6/site-packages/django/db/utils.py", line 
125, in load_backend
) from e_user
django.core.exceptions.ImproperlyConfigured: 'django.db.backends.mysql' 
isn't an available database backend.
Try using 'django.db.backends.XXX', where XXX is one of:
'oracle', 'postgresql', 'sqlite3'

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5d832ad6-fd11-47d9-8ff5-8942b880ad15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: A PHP framework with some Django features?

2013-06-28 Thread Deepak Kumar
I have used symfony2 quite a bit and as very rightly said by *Tiago Almeida 
*in the thread below that SonataAdminBundle (in sf2 context) serves as very 
good admin management, till now I am very happy with Symfony2.

On Friday, June 28, 2013 2:43:38 AM UTC+5:30, thoms wrote:
>
> Hello,
>
> I have a PHP background, and I'm learning Django.
> Long story short: I love Django, but some things are really painful to do 
> (configuration, media/static content, etc.).
>
> That's why I want to know if there is a PHP framework that has some of 
> Django's really cool features:
> - Automatically creates the SQL table from the model
> - Automatically creates an admin
>
> Thanks for your help
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Render time

2012-06-25 Thread Deepak Kumar
I am no django expert ... but I guess you can do following ...

Get the timestamp when request first reaches your server
It does some processing
returns output to browser
use javascript to check if DOM loaded and get the timestamp
calculate time diff and send to the server again to save it.

Don't know if that ll help.

-deepak

On Mon, Jun 25, 2012 at 5:04 PM, Larry Martell wrote:

> This is not strictly a django question, but I'm hoping someone here
> has solved this and can help me. I have a client that has a django app
> that collects a bunch of server side statistics on the users
> activities - e.g. what reports they run, the number of rows returned,
> how long the query took, etc. Now they want me to add to that how long
> the browser takes to render the page after it gets the data. So I have
> 3 issues here:
>
> 1) How  can I even calculate that?
> 2) How I can return it back to the server?
> 3) Since the database table is updated with the other statistics
> before the data is sent to the browser, assuming I could calculate the
> render time and send it back, how could I find the row and update with
> that info?
>
> If anyone has already done something like this, or anyone has any
> advise on how I could do it (especially item #1), I'd really
> appreciate them sharing it with me.
>
> TIA!
> -larry
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.